Forum Discussion
ChristopheHumbert
Mar 30, 2022Bronze Contributor
Block Sign-in (disabled Users with privileges) with Graph API
Hello,
Is there any permission or set of permissions that allow the disabling of a privileged user through the graph API
Thanks
- Depends on the roles assigned. Generally speaking, you'd need a GA. as noted in the documentation:
A global administrator assigned the Directory.AccessAsUser.All delegated permission can update the accountEnabled status of all administrators in the tenant.- ChristopheHumbertBronze ContributorThanks Yes but I wanted an application permission for a script so looking in the API permissions of the app