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.

HighDeprecationAction requiredIn effectVerified

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.

Why this is rated high: severity comes from a fixed rubric — this entry is a deprecation that requires administrator action. Time-to-deadline is shown separately and never changes the rating.

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