Information
There currently is not an option to show expired passwords for Microsoft 365 directly. Instead, an admin must check the last time a password was changed and compare with the expiration policy. A report may be automatically generated with Administrator PowerShell access. An example script (downloads a file) is provided by a Admindroid (opens in a new window) in their article (opens in a new window).
Environment
- Microsoft 365
- Microsoft Entra
- Microsoft Admin
Process
Get Date of Last Password Change
- Navigate to the Microsoft Entra admin center homepage (opens in a new window)
- Click Users in the left navigation pane
- Click All users
- Click the search field next to the Add filter to look up a specific user
- Click the desired user under Display name
- Click Properties
- Compare the Last password change date time with the Password expiration policy
Get Password expiration policy
- Navigate to the Microsoft 365 admin center homepage (opens in a new window)
- Click Show all in the left navigation pane to expand more settings
- Click the Security tab
- Click Password expiration policy
- If a policy has been set it will appear under Days before passwords expire
Note: Passwords for staff are set to expire every 183 days. Passwords for students are set to never expire.