en-US

WhoCanShareAnonymousAllowList

Parameter of SPOTenant

Description

Sets the list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. Each security group is denoted by its GUID object ID in the Entra directory.

To set this list to be a specific security group, you need to enter its GUID as the argument. You can enter multiple GUIDs by using commas to separate them. To view the current list, use Get-SPOTenant.

Microsoft Learn documentation

Characteristics

Type
System.Guid[]
Parameter sets
(All)

Apply

This value type (System.Guid[]) must be built by hand: see the examples on the policy page and the Microsoft documentation.