Microsoft enforces a strong default two gate password reset policy for any Azure administrator role (Example: Global Administrator, Helpdesk Administrator, Password Administrator, etc.)
This disables administrators from using security questions and enforces the following.
Two gate policy, requiring two pieces of authentication data (email address and phone number), applies in the following circumstances
One gate policy, requiring one piece of authentication data (email address or phone number), applies in the following circumstances
Every user account that needs to sign in to Azure AD must have a unique user principal name (UPN) attribute value associated with their account. The table below outlines the policies that apply to both on-premises Active Directory user accounts synchronized to the cloud and to cloud-only user accounts.
Property
UserPrincipalName requirements
Characters allowed
Characters not allowed
Length constraints
The following table describes the available password policy settings that can be applied to user accounts that are created and managed in Azure AD.
Requirements
Password restrictions
Password expiry duration
Password expiry notification
Password Expiry
Password change history
Last password cannot be used again when changing a password.
Password reset history
Last password may be used again when resetting a forgotten password.
Account Lockout
After 10 unsuccessful sign-in attempts (wrong password), the user will be locked out for one minute. Further incorrect sign-in attempts lock out the user for increasing durations.
A global administrator for a Microsoft cloud service can use the Microsoft Azure Active Directory Module for Windows PowerShell to set up user passwords not to expire. You can also use Windows PowerShell cmdlets to remove the never-expires configuration or to see which user passwords are set up not to expire. This guidance applies to other providers such as Microsoft Intune and Office 365, which also rely on Microsoft Azure Active Directory for identity and directory services.
Note
Only passwords for user accounts that are not synchronized through directory synchronization can be configured to not expire. For more information about the directory synchronization seeConnect AD with Azure AD.
To get started, you need to download and install the Azure AD PowerShell module. Once you have it installed, you can follow the steps below to configure each field.