Is the Azure Active user disable option disabled?

How to disable users in the Windows active directory. We are using Microsoft Azure.?

+3


source to share


2 answers


To disable a user, you must use the graphical API. To do this, call the update for the user using the HTTP PATCH method:

PATCH https://graph.windows.net/myorganization/users/{user_id}?api-version

      

And include in the body:



{
    "accountEnabled": false
}

      

See this for a link: https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/users-operations#UpdateUser

/ f

+6


source


If you are using Windows Server AD, just click on user and disable it using Active Directory Users and Computers.

If you are using Azure Active Directory, click user, go to profile and block user login and access in settings.



enter image description here

+3


source







All Articles