You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example 2 turns on an open sharing model for this container type. Any container members and guest users with edit permissions can share files created within the container type.
Example 4 overrides the tenant-level WhoCanShare settings with null lists, which bypass the check. This has the effect of no longer restricting external sharing privileges to members of specific security groups.
Example 5 overrides the tenant-level WhoCanShareAuthenticatedGuestAllowList with a null list, while leaving the WhoCanShareAnonymousAllowList untouched. This has the effect of no longer restricting the privilege of sharing to authenticated guests to members of specific security groups.
78
+
48
79
## PARAMETERS
49
80
50
81
### -DiscoverabilityDisabled
@@ -80,6 +111,82 @@ Accept pipeline input: False
80
111
Accept wildcard characters: False
81
112
```
82
113
114
+
### -WhoCanShareAnonymousAllowList
115
+
116
+
Sets a container type-specific list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. Must be set in conjunction with OverrideTenantWhoCanShareAnonymousAllowList.
117
+
118
+
> [!NOTE]
119
+
> This allow list only accepts security groups, and not Microsoft 365 Groups.
120
+
121
+
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to anyone, set this allow list and the WhoCanShareAuthenticatedGuestAllowList to null arrays.
122
+
123
+
```yaml
124
+
Type: Guid[]
125
+
Parameter Sets: (All)
126
+
Aliases:
127
+
Applicable: SharePoint Online
128
+
Required: False
129
+
Position: Named
130
+
Default value: None
131
+
Accept pipeline input: False
132
+
Accept wildcard characters: False
133
+
```
134
+
135
+
### WhoCanShareAuthenticatedGuestAllowList
136
+
137
+
Sets a container type-specific list of security groups who are allowed to share with authenticated guest users at the container level. Must be set in conjunction with OverrideTenantWhoCanShareAuthenticatedGuestAllowList.
138
+
139
+
> [!NOTE]
140
+
> This allow list only accepts security groups, and not Microsoft 365 Groups.
141
+
142
+
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to authenticated guests, set this allow list to a null array.
143
+
144
+
```yaml
145
+
Type: Guid[]
146
+
Parameter Sets: (All)
147
+
Aliases:
148
+
Applicable: SharePoint Online
149
+
Required: False
150
+
Position: Named
151
+
Default value: None
152
+
Accept pipeline input: False
153
+
Accept wildcard characters: False
154
+
```
155
+
156
+
### OverrideTenantWhoCanShareAnonymousAllowList
157
+
158
+
This setting determines if the container type WhoCanShareAnonymousAllowList overrides the tenant-level WhoCanShareAnonymousAllowList. The default value for this parameter is false.
This setting determines if the container type WhoCanShareAuthenticatedGuestAllowList overrides the tenant-level WhoCanShareAuthenticatedGuestAllowList. The default value for this parameter is false.
0 commit comments