en-US

OneDriveDefaultShareLinkRole

Parameter of SPOTenant

Description

This parameter sets the default share link role on OneDrive sites. It replaces the DefaultLinkPermission.

The valid values are:

  • None: No permissions granted.
  • View: View-only permissions.
  • Edit: Edit permissions.
  • Review: Review permissions.
  • RestrictedView: Restricted view permissions.

Microsoft Learn documentation

Characteristics

Type
Microsoft.Online.SharePoint.TenantManagement.SharingRole
Parameter sets
(All)

Apply

This value type (Microsoft.Online.SharePoint.TenantManagement.SharingRole) must be built by hand: see the examples on the policy page and the Microsoft documentation.