Update user
Enable or disable an Entra ID account, or change its department, job title or other properties; empty fields stay as they are.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/entra_update_user · 7 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| User | String | Yes | A user's object id or sign-in name (user principal name). | |
| Account | String | No | unchanged | Enable or disable the account. |
| Department | String | No | New department. | |
| Job title | String | No | New job title. | |
| Fields | Dictionary | No | More Graph user properties to change. | |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |