Important update: Deprecation of Azure AD PowerShell and MSOnline PowerShell modules
In 2021, we described our plans to invest in Microsoft Graph PowerShell SDK as the PowerShell provider for Microsoft Entra and transition away from Azure AD and MSOnline PowerShell modules. In 2023, we announced that the deprecation of Azure AD and MSOnline PowerShell modules would occur on March 30, 2024. We’ve since made substantial progress closing remaining parity gaps in Microsoft Graph PowerShell SDK, and as of March 30, 2024, these PowerShell modules are now deprecated:
- Azure AD PowerShell (AzureAD)
- Azure AD PowerShell Preview (AzureADPreview)
- MS Online (MSOnline)
You should migrate your scripts to Microsoft Graph PowerShell SDK as soon as possible. Information about the retirement of these modules can be found below.
What happens to MSOnline and Azure AD Modules after March 30, 2024?
As of March 30, 2024, Azure AD, Azure AD Preview, and MS Online PowerShell modules are deprecated. Support will only be offered for critical security fixes. They will continue to function through March 30, 2025. Note: Only MSOnline versions 1.1.166.0 (2017) and later are assured to function through March 30, 2025. Use of versions earlier than 1.1.166.0 may experience disruptions after June 30, 2024.
Required Actions
- Identify scripts in your environment that are using Azure AD or MS Online PowerShell modules.
- Take immediate action to migrate scripts that are using MS Online versions below 1.1.166.0. If you’re not ready to migrate to Microsoft Graph PowerShell, you can update to the latest version of MSOnline PowerShell (1.1.183.81) to avoid impact after June 30, 2024. To inspect the version of MS Online module, you can use this PowerShell command: > Get-InstalledModule MSOnline
- Plan to migrate all MS Online (latest version) and Azure AD PowerShell scripts to Microsoft Graph by March 30, 2025.
- Migrate these scripts to use Microsoft Graph PowerShell SDK.
We’re making substantial new and future investments in the PowerShell experience for managing Entra. Please continue to monitor this space as we announce exciting improvements in the coming months.
About Microsoft Graph PowerShell SDK
The Microsoft Graph PowerShell SDK provides cmdlets for the entire API surface of Microsoft Graph, including Microsoft Entra ID. It features cross-platform and PowerShell 7 support, offers modern authentication, and is regularly updated.
Resources
- Microsoft Graph PowerShell SDK overview
- Migrate from Azure AD PowerShell to Microsoft Graph PowerShell
- Azure AD PowerShell to Microsoft Graph PowerShell migration FAQ –
- Find Azure AD and MSOnline cmdlets in Microsoft Graph PowerShell
- Microsoft Graph Compatibility Adapter
Kristopher Bash
Product Manager, Microsoft Graph
LinkedIn
Learn more about Microsoft Entra:
- See recent Microsoft Entra blogs
- Dive into Microsoft Entra technical documentation
- Learn more at Azure Active Directory (Azure AD) rename to Microsoft Entra ID
- Join the conversation on the Microsoft Entra discussion space
- Learn more about Microsoft Security
Published on:
Learn moreRelated posts
Sync identities from Rippling to Microsoft Entra ID
Today, we’re thrilled to announce that customers using Rippling HCM can now automatically provision users to on-premises Active Directory and ...
Microsoft Entra ID Governance for government
I’m pleased to announce that as of November 1, 2024, Microsoft Entra ID Governance is available for federal agencies, state and local governme...
Update to security defaults
As part of the Secure Future Initiative, we’ve evolved our security approach to align with three security principles: secure by design, secure...
Meet Microsoft Entra at Ignite 2024: November 18-22
Microsoft Ignite is just around the corner, taking place from Monday, November 18, 2024 through Friday, November 22, 2024, in Chicago, Illinoi...
Manage Microsoft Entra ID role assignments with Microsoft Entra ID Governance
I’m excited to announce that we now support Microsoft Entra role assignments in Microsoft Entra ID Governance's Entitlement Management feature...
The latest enhancements in Microsoft Authenticator
Hi folks, I'm thrilled to announce three major Microsoft Entra ID advancements that will help you protect your users with phishing-resi...
Microsoft Security announcements and demos at Authenticate 2024
The Microsoft Security team is excited to connect with you next week at Authenticate 2024 Conference, taking place October 14 to 16 in Carlsba...
What's new in Microsoft Entra - September 2024
We’re excited to announce the general availability of Microsoft Entra Suite—one of the industry’s most comprehensive secure access solutions f...
Explore the key benefits of Microsoft Entra Private Access
The traditional network security models are becoming increasingly ineffective in a world where remote work and cloud services are the norm. Co...
Join us at the Microsoft Entra Suite Showcase!
This fall, we are bringing the Microsoft Entra Suite Showcase to cities worldwide. Join us to explore how our latest advancements in secure id...