c# - In Azure Active directory user disable option is there? -


how disable users in windows active directory.we using microsoft azure.?

to disable user use graph api. this, call update on user patch http method:

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

and include in body:

{     "accountenabled": false } 

please see ref: https://msdn.microsoft.com/library/azure/ad/graph/api/users-operations#updateuser

/ip


Comments