22 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Send Email Reminders for Password Expiration
Learn how to send password expiry notifications via email in Microsoft 365 using a PowerShell script to ensure timely updates and prevent lockouts.
***Sample Output***
The script sends password expiration notifications to all users with password expiry in specific days and prompts them to change their password using Microsoft security info. It also generates a CSV file with the password expiration details of those users. The sample output is shown in the screenshots below.
**Sample Password Expiry Notification Email**
![Password Expiration Notification in Microsoft 365](<https://o365reports.com/wp-content/uploads/2025/02/password-expiry-notification-via-email-800x402.png?v=1739255772>)
**Password Expiration Date of All Users:**
![Password Expiration Date of Microsoft 365 Users](<https://o365reports.com/wp-content/uploads/2025/02/password-expiration-date.png?v=1739255768>)
## Microsoft 365 Reporting tool by AdminDroid 
Looking for more than just a script? Discover [AdminDroids Microsoft 365 reporting tool](https://admindroid.com/?src=PasswordExpirationEmailNotification&site=o365reports), featuring over 1900 reports and 30+ dashboards that provide detailed and actionable insights about passwords. 
*Access detailed Microsoft 365 password reports with AdminDroid: <https://demo.admindroid.com/#/1/1/reports/132/1/20>*