en-US

SharingCapability

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Determines what level of sharing is available for OneDrive and SharePoint sites.

The valid values are:

  • ExternalUserAndGuestSharing (default) - External user sharing (share by email) and guest link sharing are both enabled.
  • Disabled - External user sharing (share by email) and guest link sharing are both disabled.
  • ExternalUserSharingOnly - External user sharing (share by email) is enabled, but guest link sharing is disabled.
  • ExistingExternalUserSharingOnly - Only guests already in your organization's directory.

For more information about sharing, see Manage sharing settings for your SharePoint online environment.

Microsoft Learn documentation

Characteristics

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

Apply

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