en-US

SharingDomainRestrictionMode

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Specifies the external sharing mode for domains.

The valid values are:

  • None
  • AllowList - Users will be able to share with external collaborators coming only from that email domain.
  • BlockList - Users will be able to share with all external collaborators apart from the ones on the BlockedDomainList.

For additional information about how to restrict a domain sharing, see Restricted Domains Sharing in Office 365 SharePoint Online and OneDrive for Business.

Microsoft Learn documentation

Characteristics

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

Apply

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