How to check if user is locked and how do we unloc

2019-08-27 18:16发布

问题:

I am looking for AZURE AD Graph API to check whether a user is locked and if locked i need to unlock that particular user using Graph API.

Also I have verified the AZURE AD Graph API catalogs mentioned below but i cannot able to find anything related to it.

https://msdn.microsoft.com/en-us/library/azure/ad/graph/api/api-catalog

回答1:

You cannot unlock a user account. See https://docs.microsoft.com/en-us/azure/active-directory/active-directory-passwords-policy for details of how account lockout duration is calculated by default.

if you have configured smart lockout policies, user remains locked based on the lockout duration specified in https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-pass-through-authentication-smart-lockout