en-US

DefaultSharingLinkType

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Lets administrators choose the default link type in the sharing dialog box in OneDrive for Business and SharePoint Online.

For additional information about how to change the default link type, see Change the default link type when users get links for sharing.

The valid values are:

  • None - Use the widest sharing scope permitted by other sharing settings
  • Direct - Sets the default sharing link for this site to the Specific people link
  • Internal - Sets the default sharing link for this site to the organization link
  • AnonymousAccess - Sets the default sharing link for this site to an Anonymous Access or Anyone link

Microsoft Learn documentation

Characteristics

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

Apply

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