MC960817 MSOnline and AzureAD PowerShell modules to retire first half 2025
Primary service: Entra
ChangePilot summary
- MSOnline PowerShell module will retire and stop working between early April 2025 and late May 2025.
- AzureAD PowerShell will have no support after March 30, 2025, with retirement targeted for early July 2025.
- Temporary outage tests for MSOnline PowerShell will occur for all tenants between January 2025 and March 2025.
- Users are encouraged to migrate to Microsoft Graph PowerShell or Microsoft Entra PowerShell (Preview) by March 30, 2025.
- Logins from MSOnline and AzureAD PowerShell can be identified via Microsoft Entra Sign-in logs.
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
You are receiving this message because there has been usage of the MSOnline PowerShell module in your tenant in the past month.
As announced in Microsoft Entra change announcements and in the Microsoft Entra Blog, the MSOnline and Microsoft Azure AD PowerShell modules (for Microsoft Entra ID) retired on March 30, 2024.
The retirement for MSOnline PowerShell module starts in early April 2025 and ends in late May 2025. You must take action by March 30, 2025 to avoid impact after the retirement by migrating any use of MSOnline to Microsoft Graph PowerShell SDK or Microsoft Entra PowerShell (Preview).
Key points
- MSOnline PowerShell will retire (and stop working) between early April 2025 and late May 2025.
- AzureAD PowerShell will no longer be supported after March 30, 2025, but its retirement will happen in early July 2025. This postponement is to allow you time to finish the MSOnline PowerShell migration.
- To ensure customer readiness for MSOnline PowerShell retirement, a series of temporary outage tests will occur for all tenants between January 2025 and March 2025.
You should plan to migrate the use of MSOnline to Microsoft Graph PowerShell or Microsoft Entra PowerShell (Preview) as soon as possible (or by March 30, 2025 at the latest).
MSOnline PowerShell
As part of our ongoing commitment to your security, the retirement of MSOnline PowerShell is prioritized and will happen between early April 2025 and late May 2025. MSOnline PowerShell will stop working when it is retired. To ensure that customers are ready for this retirement of MSOnline PowerShell, we will be deploying a series of temporary outages between January 2025 and March 2025. During these temporary outages, use of MSOnline cmdlets will fail, with a message indicating that MSOnline PowerShell is disallowed. The projected timeline for these temporary outages is:
- Between January 20, 2025 and February 28, 2025, all tenants will experience at least two (2) temporary outages for MSOnline PowerShell. Each outage will be between 3-8 hours in duration at different times of the day.
- During March 2025, all tenants will experience a temporary outage of longer duration as final preparation for the retirement of MSOnline PowerShell starting in early April 2025.
We will notify you in the Microsoft 365 Message center when we have more specific timelines for the temporary outages. After each of these temporary outages, functionality will be fully restored.
Azure AD PowerShell
The retirement notice period for Azure AD PowerShell ends on March 30, 2025. After this date, Azure AD PowerShell will have no further maintenance or support commitments. To allow customers to focus on migration from MSOnline, we are targeting the third quarter of 2025 for the retirement of AzureAD PowerShell module.
Identifying use of MSOnline and AzureAD PowerShell modules in your tenant
You can use Microsoft Entra Sign-in logs to identify logins from MSOnline and AzureAD PowerShell. These log events provide information about the client and user for the PowerShell session. You can inspect Sign-in logs (both interactive and non-interactive) for sign-ins where the application is Application Name Azure Active Directory PowerShell. This application is used for both MSOnline and AzureAD PowerShell.
Learn more: Migrate from Azure AD PowerShell to Microsoft Graph PowerShell | Microsoft Learn
More information
- learn.microsoft.com/powershell/entra-powershell/installation?view=entra-powershell&tabs=powershell&pivots=windows
- learn.microsoft.com/powershell/microsoftgraph/installation?view=graph-powershell-1.0
- learn.microsoft.com/powershell/microsoftgraph/migration-steps?view=graph-powershell-1.0
- techcommunity.microsoft.com/t5/microsoft-entra-blog/important-update-deprecation-of-azure-ad-powershell-and-msonline/ba-p/4094536
- entra.microsoft.com/#view/Microsoft_AAD_IAM/ChangeManagementHubList.ReactView
Details
Services
- Entra
Category
- Plan for change
Microsoft tags
- User Adoption
- Admin Action
- Retirement