en-US

OneDriveDefaultShareLinkScope

Parameter of SPOTenant

Description

This parameter sets the default share link scope on OneDrive sites. It replaces the DefaultSharingLinkType.

The valid values are:

  • Anyone: Anyone with the link can access the content.
  • Organization: Only people within the organization can access the content.
  • SpecificPeople: Only specific individuals (specified by the user) can access the content.
  • Uninitialized: The default value, indicating that the default share link scope is not explicitly set.

Microsoft Learn documentation

Characteristics

Type
Microsoft.SharePoint.Client.Sharing.SharingScope
Parameter sets
(All)

Apply

This value type (Microsoft.SharePoint.Client.Sharing.SharingScope) must be built by hand: see the examples on the policy page and the Microsoft documentation.