Azure AD password policy

Pamu 96 Reputation points
2021-04-12T04:57:22.743+00:00

Hi everyone,

Is there a way to see the password expiration policy settings ( in days ) in Azure portal ?

I can view the 'Lockout threshold' and 'Lockout duration' in Security>Authentication Methods>Password Protection

but couldn't seem to find the 'password expiration' settings

Thanks in advance !

Edit : this is a cloud only account .. No on-premises AD

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,871 Reputation points Moderator
    2021-04-12T05:11:22.013+00:00

    Hi @PamudithaMadushanka-8226 · Thank you for reaching out.

    As of now, there is no option in Azure Portal to view Azure AD password policy. You will have to use PowerShell for this purpose.

    Use below cmdlet to see password expiration settings for the tenant/domain. This requires MSOnline module.

    • Get-MsolPasswordPolicy -DomainName contoso.com

    Use below cmdlet to see password expiration settings on users in the tenant/domain. This requires AzureADPreview module.

    • Get-AzureADUser -All $true | Select-Object UserPrincipalName, @{N="PasswordNeverExpires";E={$_.PasswordPolicies -contains "DisablePasswordExpiration"}}

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. MReed 36 Reputation points
    2021-06-14T23:21:34.867+00:00

    sorry to add this on here, but am unable to post a new question at the moment.

    we use both AD and AAD currently. AD on prem is synced to AAD via Azure AD connect.
    we are a hybrid environment.
    can someone tell me what the source of authority would be for all users?
    or is it dependent on the users "source"?
    in theory, we have 2 possibly disconnected password policies?
    how do most admins handle this or configure generally?

    0 comments No comments

  3. Nicholas Kelly 1 Reputation point
    2022-01-21T11:53:45.72+00:00

    You can use as it were admin center to change usage passwords time passwords time to live and change on 1st login

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.