Skip to content

Commit 48298a2

Browse files
committed
Delete branch=main
1 parent 1d8487a commit 48298a2

File tree

2 files changed

+84
-84
lines changed

2 files changed

+84
-84
lines changed

articles/active-directory/enterprise-users/users-custom-security-attributes.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The following example assigns a custom security attribute with a string value to
132132

133133
# [PowerShell](#tab/ms-powershell)
134134

135-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
135+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
136136

137137
```powershell
138138
Select-MgProfile -Name "beta"
@@ -147,7 +147,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
147147

148148
# [Microsoft Graph](#tab/ms-graph)
149149

150-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
150+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
151151

152152
```http
153153
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -180,7 +180,7 @@ The following example assigns a custom security attribute with a multi-string va
180180

181181
# [PowerShell](#tab/ms-powershell)
182182

183-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
183+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
184184

185185
```powershell
186186
Select-MgProfile -Name "beta"
@@ -196,7 +196,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
196196

197197
# [Microsoft Graph](#tab/ms-graph)
198198

199-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
199+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
200200

201201
```http
202202
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -215,7 +215,7 @@ PATCH https://graph.microsoft.com/beta/users/{id}
215215

216216
# [Azure AD PowerShell](#tab/aad-powershell)
217217

218-
[Set-AzureADMSUser](/powershell/module/azuread/set-azureadmsuser?branch=main)
218+
[Set-AzureADMSUser](/powershell/module/azuread/set-azureadmsuser)
219219

220220
```powershell
221221
$attributes = @{
@@ -241,7 +241,7 @@ The following example assigns a custom security attribute with an integer value
241241

242242
# [PowerShell](#tab/ms-powershell)
243243

244-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
244+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
245245

246246
```powershell
247247
Select-MgProfile -Name "beta"
@@ -257,7 +257,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
257257

258258
# [Microsoft Graph](#tab/ms-graph)
259259

260-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
260+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
261261

262262
```http
263263
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -291,7 +291,7 @@ The following example assigns a custom security attribute with a multi-integer v
291291

292292
# [PowerShell](#tab/ms-powershell)
293293

294-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
294+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
295295

296296
```powershell
297297
Select-MgProfile -Name "beta"
@@ -307,7 +307,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
307307

308308
# [Microsoft Graph](#tab/ms-graph)
309309

310-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
310+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
311311

312312
```http
313313
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -341,7 +341,7 @@ The following example assigns a custom security attribute with a Boolean value t
341341

342342
# [PowerShell](#tab/ms-powershell)
343343

344-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
344+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
345345

346346
```powershell
347347
Select-MgProfile -Name "beta"
@@ -356,7 +356,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
356356

357357
# [Microsoft Graph](#tab/ms-graph)
358358

359-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
359+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
360360

361361
```http
362362
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -389,7 +389,7 @@ The following example updates a custom security attribute assignment with an int
389389

390390
# [PowerShell](#tab/ms-powershell)
391391

392-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
392+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
393393

394394
```powershell
395395
Select-MgProfile -Name "beta"
@@ -405,7 +405,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
405405

406406
# [Microsoft Graph](#tab/ms-graph)
407407

408-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
408+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
409409

410410
```http
411411
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -439,7 +439,7 @@ The following example updates a custom security attribute assignment with a Bool
439439

440440
# [PowerShell](#tab/ms-powershell)
441441

442-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
442+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
443443

444444
```powershell
445445
Select-MgProfile -Name "beta"
@@ -454,7 +454,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
454454

455455
# [Microsoft Graph](#tab/ms-graph)
456456

457-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
457+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
458458

459459
```http
460460
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -487,7 +487,7 @@ The following example updates a custom security attribute assignment with a mult
487487

488488
# [PowerShell](#tab/ms-powershell)
489489

490-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
490+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
491491

492492
```powershell
493493
Select-MgProfile -Name "beta"
@@ -503,7 +503,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
503503

504504
# [Microsoft Graph](#tab/ms-graph)
505505

506-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
506+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
507507

508508
```http
509509
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -522,7 +522,7 @@ PATCH https://graph.microsoft.com/beta/users/{id}
522522

523523
# [Azure AD PowerShell](#tab/aad-powershell)
524524

525-
[Set-AzureADMSUser](/powershell/module/azuread/set-azureadmsuser?branch=main)
525+
[Set-AzureADMSUser](/powershell/module/azuread/set-azureadmsuser)
526526

527527
```powershell
528528
$attributesUpdate = @{
@@ -543,7 +543,7 @@ The following example gets the custom security attribute assignments for a user.
543543

544544
# [PowerShell](#tab/ms-powershell)
545545

546-
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
546+
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true)
547547

548548
```powershell
549549
Select-MgProfile -Name "beta"
@@ -585,7 +585,7 @@ If there are no custom security attributes assigned to the user or if the callin
585585

586586
# [Microsoft Graph](#tab/ms-graph)
587587

588-
[Get user](/graph/api/user-get?view=graph-rest-beta&preserve-view=true&branch=main)
588+
[Get user](/graph/api/user-get?view=graph-rest-beta&preserve-view=true)
589589

590590
```http
591591
GET https://graph.microsoft.com/beta/users/{id}?$select=customSecurityAttributes
@@ -629,7 +629,7 @@ If there are no custom security attributes assigned to the user or if the callin
629629

630630
# [Azure AD PowerShell](#tab/aad-powershell)
631631

632-
[Get-AzureADMSUser](/powershell/module/azuread/get-azureadmsuser?branch=main)
632+
[Get-AzureADMSUser](/powershell/module/azuread/get-azureadmsuser)
633633

634634
```powershell
635635
$user1 = Get-AzureADMSUser -Id dbb22700-a7de-4372-ae78-0098ee60e55e -Select CustomSecurityAttributes
@@ -648,7 +648,7 @@ The following example lists all users with a custom security attribute assignmen
648648

649649
# [PowerShell](#tab/ms-powershell)
650650

651-
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
651+
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true)
652652

653653
```powershell
654654
Select-MgProfile -Name "beta"
@@ -677,7 +677,7 @@ Value : {[@odata.type, #microsoft.graph.customSecurityAttributeValue], [AppCount
677677

678678
# [Microsoft Graph](#tab/ms-graph)
679679

680-
[List users](/graph/api/user-list?view=graph-rest-beta&preserve-view=true&branch=main)
680+
[List users](/graph/api/user-list?view=graph-rest-beta&preserve-view=true)
681681

682682
```http
683683
GET https://graph.microsoft.com/beta/users?$count=true&$select=id,displayName,customSecurityAttributes&$filter=customSecurityAttributes/Marketing/AppCountry eq 'Canada'
@@ -746,7 +746,7 @@ The following example lists all users with a custom security attribute assignmen
746746

747747
# [PowerShell](#tab/ms-powershell)
748748

749-
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
749+
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true)
750750

751751
```powershell
752752
Select-MgProfile -Name "beta"
@@ -779,7 +779,7 @@ Value : {[@odata.type, #microsoft.graph.customSecurityAttributeValue], [Employee
779779

780780
# [Microsoft Graph](#tab/ms-graph)
781781

782-
[List users](/graph/api/user-list?view=graph-rest-beta&preserve-view=true&branch=main)
782+
[List users](/graph/api/user-list?view=graph-rest-beta&preserve-view=true)
783783

784784
```http
785785
GET https://graph.microsoft.com/beta/users?$count=true&$select=id,displayName,customSecurityAttributes&$filter=startsWith(customSecurityAttributes/Marketing/EmployeeId,'GS')
@@ -862,7 +862,7 @@ The following example lists all users with a custom security attribute assignmen
862862

863863
# [PowerShell](#tab/ms-powershell)
864864

865-
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
865+
[Get-MgUser](/powershell/module/microsoft.graph.users/get-mguser?view=graph-powershell-beta&preserve-view=true)
866866

867867
```powershell
868868
Select-MgProfile -Name "beta"
@@ -882,7 +882,7 @@ d5a1c025-2d79-4ad3-9217-91ac3a4ed8b8 Joe Microsoft.Graph.Po
882882

883883
# [Microsoft Graph](#tab/ms-graph)
884884

885-
[List users](/graph/api/user-list?view=graph-rest-beta&preserve-view=true&branch=main)
885+
[List users](/graph/api/user-list?view=graph-rest-beta&preserve-view=true)
886886

887887
```http
888888
GET https://graph.microsoft.com/beta/users?$count=true&$select=id,displayName,customSecurityAttributes&$filter=customSecurityAttributes/Marketing/AppCountry ne 'Canada'
@@ -982,7 +982,7 @@ The following example removes a single-valued custom security attribute assignme
982982

983983
# [PowerShell](#tab/ms-powershell)
984984

985-
[Invoke-MgGraphRequest](/powershell/microsoftgraph/authentication-commands?branch=main#using-invoke-mggraphrequest)
985+
[Invoke-MgGraphRequest](/powershell/microsoftgraph/authentication-commands#using-invoke-mggraphrequest)
986986

987987
```powershell
988988
$params = @{
@@ -998,7 +998,7 @@ Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/beta/users
998998

999999
# [Microsoft Graph](#tab/ms-graph)
10001000

1001-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
1001+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
10021002

10031003
```http
10041004
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -1030,7 +1030,7 @@ The following example removes a multi-valued custom security attribute assignmen
10301030

10311031
# [PowerShell](#tab/ms-powershell)
10321032

1033-
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true&branch=main)
1033+
[Update-MgUser](/powershell/module/microsoft.graph.users/update-mguser?view=graph-powershell-beta&preserve-view=true)
10341034

10351035
```powershell
10361036
Select-MgProfile -Name "beta"
@@ -1045,7 +1045,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
10451045

10461046
# [Microsoft Graph](#tab/ms-graph)
10471047

1048-
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true&branch=main)
1048+
[Update user](/graph/api/user-update?view=graph-rest-beta&preserve-view=true)
10491049

10501050
```http
10511051
PATCH https://graph.microsoft.com/beta/users/{id}

0 commit comments

Comments
 (0)