@@ -132,7 +132,7 @@ The following example assigns a custom security attribute with a string value to
132
132
133
133
# [ PowerShell] ( #tab/ms-powershell )
134
134
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 )
136
136
137
137
``` powershell
138
138
Select-MgProfile -Name "beta"
@@ -147,7 +147,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
147
147
148
148
# [ Microsoft Graph] ( #tab/ms-graph )
149
149
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 )
151
151
152
152
``` http
153
153
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
180
180
181
181
# [ PowerShell] ( #tab/ms-powershell )
182
182
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 )
184
184
185
185
``` powershell
186
186
Select-MgProfile -Name "beta"
@@ -196,7 +196,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
196
196
197
197
# [ Microsoft Graph] ( #tab/ms-graph )
198
198
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 )
200
200
201
201
``` http
202
202
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -215,7 +215,7 @@ PATCH https://graph.microsoft.com/beta/users/{id}
215
215
216
216
# [ Azure AD PowerShell] ( #tab/aad-powershell )
217
217
218
- [ Set-AzureADMSUser] ( /powershell/module/azuread/set-azureadmsuser?branch=main )
218
+ [ Set-AzureADMSUser] ( /powershell/module/azuread/set-azureadmsuser )
219
219
220
220
``` powershell
221
221
$attributes = @{
@@ -241,7 +241,7 @@ The following example assigns a custom security attribute with an integer value
241
241
242
242
# [ PowerShell] ( #tab/ms-powershell )
243
243
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 )
245
245
246
246
``` powershell
247
247
Select-MgProfile -Name "beta"
@@ -257,7 +257,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
257
257
258
258
# [ Microsoft Graph] ( #tab/ms-graph )
259
259
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 )
261
261
262
262
``` http
263
263
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
291
291
292
292
# [ PowerShell] ( #tab/ms-powershell )
293
293
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 )
295
295
296
296
``` powershell
297
297
Select-MgProfile -Name "beta"
@@ -307,7 +307,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
307
307
308
308
# [ Microsoft Graph] ( #tab/ms-graph )
309
309
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 )
311
311
312
312
``` http
313
313
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
341
341
342
342
# [ PowerShell] ( #tab/ms-powershell )
343
343
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 )
345
345
346
346
``` powershell
347
347
Select-MgProfile -Name "beta"
@@ -356,7 +356,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
356
356
357
357
# [ Microsoft Graph] ( #tab/ms-graph )
358
358
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 )
360
360
361
361
``` http
362
362
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -389,7 +389,7 @@ The following example updates a custom security attribute assignment with an int
389
389
390
390
# [ PowerShell] ( #tab/ms-powershell )
391
391
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 )
393
393
394
394
``` powershell
395
395
Select-MgProfile -Name "beta"
@@ -405,7 +405,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
405
405
406
406
# [ Microsoft Graph] ( #tab/ms-graph )
407
407
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 )
409
409
410
410
``` http
411
411
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -439,7 +439,7 @@ The following example updates a custom security attribute assignment with a Bool
439
439
440
440
# [ PowerShell] ( #tab/ms-powershell )
441
441
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 )
443
443
444
444
``` powershell
445
445
Select-MgProfile -Name "beta"
@@ -454,7 +454,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
454
454
455
455
# [ Microsoft Graph] ( #tab/ms-graph )
456
456
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 )
458
458
459
459
``` http
460
460
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -487,7 +487,7 @@ The following example updates a custom security attribute assignment with a mult
487
487
488
488
# [ PowerShell] ( #tab/ms-powershell )
489
489
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 )
491
491
492
492
``` powershell
493
493
Select-MgProfile -Name "beta"
@@ -503,7 +503,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
503
503
504
504
# [ Microsoft Graph] ( #tab/ms-graph )
505
505
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 )
507
507
508
508
``` http
509
509
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -522,7 +522,7 @@ PATCH https://graph.microsoft.com/beta/users/{id}
522
522
523
523
# [ Azure AD PowerShell] ( #tab/aad-powershell )
524
524
525
- [ Set-AzureADMSUser] ( /powershell/module/azuread/set-azureadmsuser?branch=main )
525
+ [ Set-AzureADMSUser] ( /powershell/module/azuread/set-azureadmsuser )
526
526
527
527
``` powershell
528
528
$attributesUpdate = @{
@@ -543,7 +543,7 @@ The following example gets the custom security attribute assignments for a user.
543
543
544
544
# [ PowerShell] ( #tab/ms-powershell )
545
545
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 )
547
547
548
548
``` powershell
549
549
Select-MgProfile -Name "beta"
@@ -585,7 +585,7 @@ If there are no custom security attributes assigned to the user or if the callin
585
585
586
586
# [ Microsoft Graph] ( #tab/ms-graph )
587
587
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 )
589
589
590
590
``` http
591
591
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
629
629
630
630
# [ Azure AD PowerShell] ( #tab/aad-powershell )
631
631
632
- [ Get-AzureADMSUser] ( /powershell/module/azuread/get-azureadmsuser?branch=main )
632
+ [ Get-AzureADMSUser] ( /powershell/module/azuread/get-azureadmsuser )
633
633
634
634
``` powershell
635
635
$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
648
648
649
649
# [ PowerShell] ( #tab/ms-powershell )
650
650
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 )
652
652
653
653
``` powershell
654
654
Select-MgProfile -Name "beta"
@@ -677,7 +677,7 @@ Value : {[@odata.type, #microsoft.graph.customSecurityAttributeValue], [AppCount
677
677
678
678
# [ Microsoft Graph] ( #tab/ms-graph )
679
679
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 )
681
681
682
682
``` http
683
683
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
746
746
747
747
# [ PowerShell] ( #tab/ms-powershell )
748
748
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 )
750
750
751
751
``` powershell
752
752
Select-MgProfile -Name "beta"
@@ -779,7 +779,7 @@ Value : {[@odata.type, #microsoft.graph.customSecurityAttributeValue], [Employee
779
779
780
780
# [ Microsoft Graph] ( #tab/ms-graph )
781
781
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 )
783
783
784
784
``` http
785
785
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
862
862
863
863
# [ PowerShell] ( #tab/ms-powershell )
864
864
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 )
866
866
867
867
``` powershell
868
868
Select-MgProfile -Name "beta"
@@ -882,7 +882,7 @@ d5a1c025-2d79-4ad3-9217-91ac3a4ed8b8 Joe Microsoft.Graph.Po
882
882
883
883
# [ Microsoft Graph] ( #tab/ms-graph )
884
884
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 )
886
886
887
887
``` http
888
888
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
982
982
983
983
# [ PowerShell] ( #tab/ms-powershell )
984
984
985
- [ Invoke-MgGraphRequest] ( /powershell/microsoftgraph/authentication-commands?branch=main #using-invoke-mggraphrequest )
985
+ [ Invoke-MgGraphRequest] ( /powershell/microsoftgraph/authentication-commands#using-invoke-mggraphrequest )
986
986
987
987
``` powershell
988
988
$params = @{
@@ -998,7 +998,7 @@ Invoke-MgGraphRequest -Method PATCH -Uri "https://graph.microsoft.com/beta/users
998
998
999
999
# [ Microsoft Graph] ( #tab/ms-graph )
1000
1000
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 )
1002
1002
1003
1003
``` http
1004
1004
PATCH https://graph.microsoft.com/beta/users/{id}
@@ -1030,7 +1030,7 @@ The following example removes a multi-valued custom security attribute assignmen
1030
1030
1031
1031
# [ PowerShell] ( #tab/ms-powershell )
1032
1032
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 )
1034
1034
1035
1035
``` powershell
1036
1036
Select-MgProfile -Name "beta"
@@ -1045,7 +1045,7 @@ Update-MgUser -UserId $userId -CustomSecurityAttributes $customSecurityAttribute
1045
1045
1046
1046
# [ Microsoft Graph] ( #tab/ms-graph )
1047
1047
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 )
1049
1049
1050
1050
``` http
1051
1051
PATCH https://graph.microsoft.com/beta/users/{id}
0 commit comments