Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
UserStringYesA user's object id or sign-in name (user principal name).
AccountStringNounchangedEnable or disable the account.
DepartmentStringNoNew department.
Job titleStringNoNew job title.
FieldsDictionaryNoMore Graph user properties to change.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.