In Azure Active directory user disable option is there?

32,150

Solution 1

To disable a user you would use the graph API. To do this, call update on the user with the PATCH HTTP method:

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

And include in the body:

{
    "accountEnabled": false
}

Please see this for ref: https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/users-operations#UpdateUser

/ip

Solution 2

In addition to the information provided above, The user can be either synced or In-cloud within the Azure Active Directory created natively within the Azure AD. If the user is synced. The user's attribute called account enabled is the one which defines whether the user is enabled or disabled. A disabled user is barred from logon to the Azure portal / any service federated with user's related Azure AD. On the new Azure portal the in-cloud user can be disabled as below.

User Setting - Block sign-in

Solution 3

If you are using Windows Server AD, just click the user and disable using Active Directory User and Computers.

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

enter image description here

Share:
32,150
Jagadisha B S
Author by

Jagadisha B S

I don't know But Sure I am following my dream

Updated on December 27, 2020

Comments

  • Jagadisha B S
    Jagadisha B S over 3 years

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

  • NickBeaugié
    NickBeaugié about 2 years
    Just beware - it can take several minutes before the user is displayed as "Account enabled" = "No" in the All Users summary list.