Skip to content

Commit 11e382e

Browse files
authored
Update concept-certificate-based-authentication-certificateuserids.md
1 parent 2cfb1d3 commit 11e382e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

articles/active-directory/authentication/concept-certificate-based-authentication-certificateuserids.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,27 @@ GET https://graph.microsoft.com/v1.0/users?$filter=startswith(certificateUserIds
157157
GET https://graph.microsoft.com/v1.0/users?$filter=certificateUserIds eq '[email protected]'
158158
```
159159
160+
## Update certificate user IDs using Microsoft Graph queries
161+
PATCH the user object certificateUserIds value for a given userId
162+
163+
#### Request body:
164+
165+
```http
166+
PATCH https://graph.microsoft.us/v1.0/users/{id}
167+
Content-Type: application/json
168+
{
169+
170+
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users(authorizationInfo,department)/$entity",
171+
"department": "Accounting",
172+
"authorizationInfo": {
173+
"certificateUserIds": [
174+
"X509:<PN>123456789098765@mil"
175+
]
176+
}
177+
}
178+
```
179+
180+
160181
## Next steps
161182

162183
- [Overview of Azure AD CBA](concept-certificate-based-authentication.md)

0 commit comments

Comments
 (0)