Forum Discussion

ChristopheHumbert's avatar
ChristopheHumbert
Bronze Contributor
Mar 30, 2022

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.
    • ChristopheHumbert's avatar
      ChristopheHumbert
      Bronze Contributor
      Thanks Yes but I wanted an application permission for a script so looking in the API permissions of the app

Resources