Skip to content

Commit 6d990d0

Browse files
authored
fix comments
1 parent 7dc8b80 commit 6d990d0

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

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

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,9 @@ Sets or updates the configuration settings of a container type in SharePoint Emb
1818

1919
## SYNTAX
2020
```powershell
21-
Set-SPOContainerTypeConfiguration
22-
[-ContainerTypeId <ContainerTypeId>]
23-
[-DiscoverabilityDisabled <Boolean>]
24-
[-SharingRestricted <Boolean>]
25-
[-WhoCanShareAnonymousAllowList <Guid[]>]
26-
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>]
27-
[-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
21+
Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisabled <Boolean>]
22+
[-SharingRestricted <Boolean>] [-ApplicationRedirectUrl <String>] [-WhoCanShareAnonymousAllowList <Guid[]>]
23+
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
2824
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
2925
```
3026

@@ -55,26 +51,26 @@ Example 2 turns on an open sharing model for this container type. Any container
5551
### Example 3
5652

5753
```powershell
58-
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAnonymousAllowList $TRUE -WhoCanShareAnonymousAllowList <guids>
54+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAnonymousAllowList $true -WhoCanShareAnonymousAllowList <guids>
5955
```
6056

61-
Example 3 overrides the tenant-level WhoCanShareAnonymousAllowList.
57+
Example 3 overrides the tenant-level `WhoCanShareAnonymousAllowList`.
6258

6359
### Example 4
6460

6561
```powershell
66-
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAnonymousAllowList $TRUE –WhoCanShareAnonymousAllowList $NULL -OverrideTenantWhoCanShareAuthenticatedGuestAllowList $TRUE –WhoCanShareAuthenticatedGuestAllowList $NULL
62+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAnonymousAllowList $true –WhoCanShareAnonymousAllowList $null -OverrideTenantWhoCanShareAuthenticatedGuestAllowList $true –WhoCanShareAuthenticatedGuestAllowList $null
6763
```
6864

69-
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.
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.
7066

7167
### Example 5
7268

7369
```powershell
74-
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAuthenticatedGuestAllowList $TRUE –WhoCanShareAuthenticatedGuestAllowList $NULL
70+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -OverrideTenantWhoCanShareAuthenticatedGuestAllowList $true –WhoCanShareAuthenticatedGuestAllowList $null
7571
```
7672

77-
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.
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.
7874

7975
## PARAMETERS
8076

@@ -113,12 +109,12 @@ Accept wildcard characters: False
113109
114110
### -WhoCanShareAnonymousAllowList
115111
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.
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`.
117113

118114
> [!NOTE]
119115
> This allow list only accepts security groups, and not Microsoft 365 Groups.
120116

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.
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.
122118

123119
```yaml
124120
Type: Guid[]
@@ -134,7 +130,7 @@ Accept wildcard characters: False
134130

135131
### WhoCanShareAuthenticatedGuestAllowList
136132

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.
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`.
138134

139135
> [!NOTE]
140136
> This allow list only accepts security groups, and not Microsoft 365 Groups.
@@ -155,7 +151,7 @@ Accept wildcard characters: False
155151

156152
### OverrideTenantWhoCanShareAnonymousAllowList
157153

158-
This setting determines if the container type WhoCanShareAnonymousAllowList overrides the tenant-level WhoCanShareAnonymousAllowList. The default value for this parameter is false.
154+
This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`. The default value for this parameter is false.
159155

160156
PARAMVALUE: True | False
161157

@@ -172,7 +168,7 @@ Accept wildcard characters: False
172168

173169
### OverrideTenantWhoCanShareAuthenticatedGuestAllowList
174170

175-
This setting determines if the container type WhoCanShareAuthenticatedGuestAllowList overrides the tenant-level WhoCanShareAuthenticatedGuestAllowList. The default value for this parameter is false.
171+
This setting determines if the container type `WhoCanShareAuthenticatedGuestAllowList` overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList`. The default value for this parameter is false.
176172

177173
PARAMVALUE: True | False
178174

0 commit comments

Comments
 (0)