Skip to content

Commit e8e970a

Browse files
author
AmanpreetSingh-MSFT
authored
(AzureCXP) fixes MicrosoftDocs/azure-docs#47193
Replaced AllowAddGuests with AllowToAddGuests. ------- cc: @curtand
1 parent 630fecf commit e8e970a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/active-directory/users-groups-roles/groups-settings-cmdlets.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ Here are the settings defined in the Group.Unified SettingsTemplate. Unless othe
172172
```powershell
173173
$Setting = $template.CreateDirectorySetting()
174174
```
175-
4. Then update AllowAddGuests setting
175+
4. Then update AllowToAddGuests setting
176176
```powershell
177-
$Setting["AllowAddGuests"] = $False
177+
$Setting["AllowToAddGuests"] = $False
178178
```
179179
5. Then apply the setting:
180180

@@ -228,7 +228,7 @@ These steps read settings at directory level, which apply to all Office groups i
228228
AllowGuestsToAccessGroups True
229229
GuestUsageGuidelinesUrl
230230
GroupCreationAllowedGroupId
231-
AllowAddGuests True
231+
AllowToAddGuests True
232232
UsageGuidelinesUrl https://guideline.example.com
233233
ClassificationList
234234
EnableGroupCreation True
@@ -265,7 +265,7 @@ This step removes settings at directory level, which apply to all Office groups
265265

266266
4. Set the setting to the required value:
267267
```powershell
268-
$SettingCopy["AllowAddGuests"]=$False
268+
$SettingCopy["AllowToAddGuests"]=$False
269269
```
270270
5. Get the ID of the group you want to apply this setting to:
271271
```powershell
@@ -291,7 +291,7 @@ This step removes settings at directory level, which apply to all Office groups
291291
```
292292
3. Update the setting of the group as you need, e.g.
293293
```powershell
294-
$Setting["AllowAddGuests"] = $True
294+
$Setting["AllowToAddGuests"] = $True
295295
```
296296
4. Then get the ID of the setting for this specific group:
297297
```powershell

0 commit comments

Comments
 (0)