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 `WhoCanShareAnonymousAllowList` and `WhoCanShareAuthenticatedGuestAllowList` with null values, 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 value, 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.
74
+
48
75
## PARAMETERS
49
76
50
77
### -DiscoverabilityDisabled
@@ -80,6 +107,82 @@ Accept pipeline input: False
80
107
Accept wildcard characters: False
81
108
```
82
109
110
+
### -WhoCanShareAnonymousAllowList
111
+
112
+
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. This must be set in conjunction with `OverrideTenantWhoCanShareAnonymousAllowList`.
113
+
114
+
> [!NOTE]
115
+
> This allow list only accepts security groups, and not Microsoft 365 Groups.
116
+
117
+
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.
118
+
119
+
```yaml
120
+
Type: Guid[]
121
+
Parameter Sets: (All)
122
+
Aliases:
123
+
Applicable: SharePoint Online
124
+
Required: False
125
+
Position: Named
126
+
Default value: None
127
+
Accept pipeline input: False
128
+
Accept wildcard characters: False
129
+
```
130
+
131
+
### WhoCanShareAuthenticatedGuestAllowList
132
+
133
+
Sets a container type-specific list of security groups who are allowed to share with authenticated guest users at the container level. This must be set in conjunction with `OverrideTenantWhoCanShareAuthenticatedGuestAllowList`.
134
+
135
+
> [!NOTE]
136
+
> This allow list only accepts security groups, and not Microsoft 365 Groups.
137
+
138
+
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.
139
+
140
+
```yaml
141
+
Type: Guid[]
142
+
Parameter Sets: (All)
143
+
Aliases:
144
+
Applicable: SharePoint Online
145
+
Required: False
146
+
Position: Named
147
+
Default value: None
148
+
Accept pipeline input: False
149
+
Accept wildcard characters: False
150
+
```
151
+
152
+
### OverrideTenantWhoCanShareAnonymousAllowList
153
+
154
+
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