User.EnableDisableAccount.All

User.EnableDisableAccount.All is available as both an application and a delegated permission in Microsoft Graph. Application access requires admin consent. Delegated access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv126 Nov 2026
PropertyApplicationDelegated
Display nameEnable and disable user accountsEnable and disable user accounts
DescriptionAllows the app to enable and disable users' accounts, without a signed-in user.Allows the app to enable and disable users' accounts, on behalf of the signed-in user.
Permission ID3011c876-62b7-4ada-afa2-506cbbecc68cf92e74e7-2563-467f-9dd0-902688cb5863
Admin consent requiredYesYes
Privilege levelLevel 4 · CriticalThe broadest or most sensitive access, with substantial administrative or organizational impact.Level 4 · CriticalThe broadest or most sensitive access, with substantial administrative or organizational impact.

Roles that support this permission

21 roles

Request samples

2 samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.

application

  • PATCH
    /users/{id}
    PowerShellUpdate-MgUserUsers

delegated

  • PATCH
    /users/{id}
    PowerShellUpdate-MgUserUsers