🎉 Our Microsoft 365 Reporting & Management Tool is available in Marketplace 🚀
Microsoft Entra ID

How to Check Password Expiry Date in Microsoft 365

Has your Microsoft 365 account ever been locked out due to an expired password? This can be a frustrating experience, particularly when you are in the midst of handling high priority projects. No need to worry! We've crafted an easy guide on how to get the password expiry report and swiftly change passwords before expiry to avoid account lockouts.

Microsoft 365 tools

Using Microsoft 365 admin center

Microsoft 365 Permission Required
Global Admin or Security Admin.
To find last password change date in Office 365:
  • Sign in to the Microsoft Entra admin center.
  • Go to the 'All Users' tab under Identity»Users.
  • Select the desired user and click on the 'Properties' tab.
  • In this tab, you can see the 'Last password change date time' of the user.
Using Microsoft 365 admin center

Microsoft 365 Permission Required
Global Admin or Security Admin.
To find domain password expiration policy:
  • Login to the Microsoft 365 admin center.
  • Navigate to 'Org settings' under 'Settings' in the left navigation pane.
  • Click 'Password expiration policy' under Security & privacy tab.
  • If your organization has a specific password policy, you can find the number of days configured in the policy.
  • Thus, there is no direct method available to find password expiry date for Microsoft 365 users. You need to manually calculate it using user’s last password change date and domain’ password policy.

Using PowerShell Script

Microsoft 365 Permission Required
Global Admin or Security Admin.
  • To simplify the difficulties in the native solution, we’ve crafted the unified script to check password expiration in PowerShell and export other Microsoft 365 password-related reports.
  • Download and run the following script in the Administrator PowerShell.
Using PowerShell Script
PasswordExpiryReport.ps1

Efficiently track password expiry date and policies with precise insights!

AdminDroid’s Microsoft 365 password reports offer a diverse range of details related to user passwords. This empowers you to obtain password expiration date of Microsoft 365 users, ensuring robust security and compliance in your organization.

Account Lockout Transparency

AdminDroid Microsoft 365 reporter provides transparency into account lockout events, empowering admins to respond swiftly to any unusual activities.

Unusual Password Resets Detection

Safeguard your organization user accounts by tracking Microsoft 365 self-service password resets and prevent the unauthorized usage of the user account.

Optimized Security Information

Elevate your Microsoft 365 security with AdminDroid's advanced security reporting, gaining insights to shield against potential threats.

User-Friendly Password Dashboard Oversight

Gain extensive insights into organization-wide password status breakdowns with AdminDroid's Microsoft 365 password dashboard. Take swift actions to improve password security measures.

Expired Password Sign-In Alerts

Receive prompt notifications when Microsoft 365 users sign-in with expired passwords and safeguard your organization against any potential threats.

Consistent Password Expiry Review

Implement periodic review and update the list of admins with never expire passwords to align with organization security policies.

In conclusion, AdminDroid simplifies the challenges of getting password expiration dates and other valuable Microsoft 365 password reports. With quick access to advanced password and security related reports, admins can stay proactive in fortifying security in their Microsoft 365 environment.

Important Tips

Ensure strong password security with Microsoft 365 smart lockouts to prevent brute force attacks and credential stuffing.

Admins should consider adding alternate email addresses to users. This helps to send password reset messages to those emails when the user's password expires.

Set up Entra ID password policies in Microsoft 365 for robust security. Prevent users from selecting weak or easily guessable passwords.

Common Errors and Resolution Steps

The following are possible errors and troubleshooting hints while getting Microsoft 365 users’ password expiration date:

Error Your password has expired. type your updated password and try again. You need to update your password because this is the first time you are signing in, or because your password has expired.

This error occurs when your account password expired due to password expiration policy of your organization.

Fix Set the new password to login to your Microsoft 365 account.

Error Update-MgUser : Insufficient privileges to complete the operation.

This error occurs when the user connects Graph PowerShell module without required permissions.

Fix Connect the Microsoft Graph module with global admin or security admin privileges.
Connect-MgGraph -Scopes "User.ReadWrite.All","Group.ReadWrite.All"

Error Get-MgBetaUser : The term 'Get-MgBetaUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

This error occurs when you run cmdlets without installing respective packages in PowerShell.

Fix Install the Micrsoft Graph beta package by using the below PowerShell cmdlet.
Install-Module Microsoft.Graph.Beta

Error You can’t reset your own password because the password reset isn’t properly set up for your organization.

This error occurs when users try to reset their password, when the self-service password reset is disabled in your organization.

Fix You must contact your administrator to reset your password and to check your organization’s setup.

Error Get-MgDomain : Resource 'onmicrosoft.com' does not exist or one of its queried reference-property objects are not present.

This error occurs when you enter an incorrect domain ID or incomplete domain ID like ‘onmicrosoft.com’.

Fix Enter complete domain name like ‘msft.onmicrosoft.com’ without any discrepancy.
Get-MgDomain -DomainID "<Domain name>" | select -Property Id, PasswordValidityPeriodInDays

Kickstart Your Journey With
AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities

Download Now
User Help Manuals Compliance Docs Customer Stories