Find And Update User
A 3-step recipe with Microsoft Entra. We can help you get access.
Recipe · 3 steps
Find And Update User
with Microsoft Entra · Identity & Access Management
Filter users by UPN, patch the match, then re-read the user.
- Filter the users collection on userPrincipalName to locate the target user and capture its object id.
- Patch the matched user with the supplied job title and department. The update returns 204 with no body.
- Read the updated user back to confirm the new property values.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer token with User.ReadWrite.All.
- userPrincipalName: UPN of the user to locate (e.g. user@contoso.com).
- jobTitle: New job title to set on the user.
- department: New department to set on the user.
For your developer
Arazzo workflow microsoft-entra:find-and-update-user, 3 operations: listUsers → updateUser → getUser. Specs on APIs.io.