Microsoft is retiring the AzureAD PowerShell modules by mid-October 2025. Users must migrate scripts to Microsoft Graph or Microsoft Entra PowerShell to avoid disruptions. Temporary outages will occur in September 2025. Tools like Entra Recommendations and sign-in logs help identify legacy usage. Unique :

Important Update: AzureAD PowerShell Retirement in 2025
Microsoft is officially retiring the AzureAD and AzureAD-Preview PowerShell modules by mid-October 2025. This move follows the 2023 deprecation announcement and signals a big shift for admins and developers relying on these tools.
What’s New and What You Need to Know
Starting mid-October 2025, the old AzureAD PowerShell modules will stop working entirely. Before that, expect temporary outage tests lasting 8 to 24 hours during September 2025. These tests will help Microsoft ensure a smooth transition.
Microsoft urges users to migrate scripts now to the Microsoft Graph PowerShell SDK or Microsoft Entra PowerShell. Waiting too long could disrupt your automation and management workflows.
“We understand that retirements can be disruptive, but this activity is an important part of our commitment to security and programmability.” – Microsoft Entra Blog
How to Identify AzureAD PowerShell Usage in Your Tenant
You can track legacy module usage with two handy tools: Entra Recommendations and Sign-in logs. Entra Recommendations provide daily reports on AzureAD module activity over the past 30 days, including API requests and user counts.
Meanwhile, Sign-in logs reveal who is actively using the AzureAD PowerShell modules by filtering for the “Azure Active Directory PowerShell” application. This helps pinpoint scripts and users needing migration.
Migrating to Microsoft Graph PowerShell or Microsoft Entra PowerShell
Migration involves replacing AzureAD cmdlets with their Microsoft Graph or Entra PowerShell equivalents. Microsoft offers detailed cmdlet mapping guidance and documentation to simplify this process.
For easier migration, Microsoft Entra PowerShell supports a compatibility mode. This lets you run most AzureAD PowerShell scripts with minimal changes by importing the module and enabling aliasing:
Import-Module -Name Microsoft.Entra.Users
Connect-Entra # replaces Connect-AzureAD
Enable-EntraAzureADAlias # activates aliasing
Don’t Forget About Azure AD Graph API
If your apps still use Azure AD Graph APIs, note that these will be retired by early September 2025. Outages start as early as late July. Microsoft recommends migrating to Microsoft Graph APIs ASAP to avoid disruptions.
“Temporary outages will begin as soon as late July 2025 for Azure AD Graph APIs.” – Microsoft Entra Blog
Final Thoughts
This retirement is a critical step toward enhanced security and modern identity management. Start auditing your environment today and plan your migration to Microsoft Graph PowerShell or Microsoft Entra PowerShell. Staying ahead ensures your scripts and apps keep running smoothly.
For more info, check out Microsoft’s official migration guides and resources linked below.
From the Microsoft Entra Blog articles