Is the Azure Active user disable option disabled?
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 to share