MSOnline and AzureAD PowerShell Retirement – 2025

Microsoft has announced the retirement of the MSOnline and AzureAD PowerShell modules, with key dates and actions required for users to avoid disruptions. The MSOnline PowerShell module will be retired between early April 2025 and late May 2025, while AzureAD PowerShell will no longer be supported after March 30, 2025, with its retirement scheduled for after July 1, 2025. Users must migrate their MSOnline usage to Microsoft Graph PowerShell SDK or Microsoft Entra PowerShell, which is currently in preview.

Key Points:

To prepare for these changes, Microsoft will conduct temporary outage tests for MSOnline PowerShell between January and March 2025. These outages will help users transition smoothly by simulating the retirement process. Users should prioritize migrating from MSOnline PowerShell to Microsoft Graph PowerShell or Microsoft Entra PowerShell as soon as possible, and then focus on migrating from AzureAD PowerShell.

Additionally, Microsoft Entra sign-in logs can be utilized to identify logins from MSOnline and AzureAD PowerShell, providing valuable information about the client and user for the PowerShell session. This will aid in monitoring and managing the transition effectively.