IT Admin Change Calendar Microsoft 365
MSOnline PowerShell retired; AzureAD PowerShell deprecated and retiring
MSOnline retired on May 30, 2025; AzureAD remains deprecated and retiring. Migrate affected scripts to Microsoft Graph PowerShell.
Product
Microsoft Entra ID
Announced
30 March 2024
Effective from
30 March 2025
Who is affected
Administrators and automation that manage Entra ID (users, groups, licensing, MFA) via the legacy MSOnline or AzureAD PowerShell modules.
Admin roles to involve: Identity admin, Microsoft 365 admin, Automation/scripting owners
What administrators should do
Identify scripts, runbooks, and scheduled tasks using MSOnline, AzureAD, or AzureADPreview. Migrate them to Microsoft Graph PowerShell; Microsoft Entra PowerShell is also a Microsoft-supported, Graph-based option. MSOnline retired on May 30, 2025. AzureAD remains deprecated and Microsoft describes it as retiring, with no single final shut-off date confirmed by the current first-party sources. Migration is not automatic: cmdlet names, parameters, output objects, and permissions can differ, so test converted scripts before relying on them.
What happens if this is ignored
MSOnline scripts depend on a retired module and should not be treated as supported or current. AzureAD scripts depend on a deprecated module Microsoft is retiring. Migration to Graph PowerShell is not one-to-one, so untested replacements can fail because cmdlet names, parameters, output objects, and permissions differ.
Official source
Azure AD PowerShell to Microsoft Graph and Microsoft Entra PowerShell migration FAQ
Published by Microsoft · Source dated 24 June 2025 · Checked 23 September 2026
Last verified 23 September 2026
Related changes
- Entra ID makes passkeys the default and retires Microsoft-provided SMS/voice MFA (1 September 2026)
- Consumer Skype retired on May 5, 2025 (5 May 2025)
- Exchange Server 2016 and 2019 reached end of support on October 14, 2025 (14 October 2025)