Skip to content

Commit e55e10c

Browse files
authored
Update Set-SPOContainerTypeConfiguration.md
1 parent 7a7f50a commit e55e10c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerTypeConfiguration.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,30 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb
4848

4949
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.
5050

51+
### Example 3
52+
53+
```powershell
54+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAnonymousAllowList $true -WhoCanShareAnonymousAllowList <guids>
55+
```
56+
57+
Example 3 overrides the tenant-level `WhoCanShareAnonymousAllowList`.
58+
59+
### Example 4
60+
61+
```powershell
62+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAnonymousAllowList $true –WhoCanShareAnonymousAllowList $null -OverrideTenantWhoCanShareAuthenticatedGuestAllowList $true –WhoCanShareAuthenticatedGuestAllowList $null
63+
```
64+
65+
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.
66+
67+
### Example 5
68+
69+
```powershell
70+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAuthenticatedGuestAllowList $true –WhoCanShareAuthenticatedGuestAllowList $null
71+
```
72+
73+
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+
>>>>>>> main
5175
5276
## PARAMETERS
5377

0 commit comments

Comments
 (0)