Loading...

Important update: Deprecation of Azure AD PowerShell and MSOnline PowerShell modules

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:

 

 

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

 

  1. Identify scripts in your environment that are using Azure AD or MS Online PowerShell modules. 
  2. 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 
  3. Plan to migrate all MS Online (latest version) and Azure AD PowerShell scripts to Microsoft Graph by March 30, 2025.
  4. 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 

 

Kristopher Bash 
Product Manager, Microsoft Graph 
LinkedIn

 

 

Learn more about Microsoft Entra: 

Published on:

Learn more
Azure Active Directory Identity Blog articles
Azure Active Directory Identity Blog articles

Azure Active Directory Identity Blog articles

Share post:

Related posts

Automating Business PDFs Using Azure Document Intelligence and Power Automate

In today’s data-driven enterprises, critical business information often arrives in the form of PDFs—bank statements, invoices, policy document...

10 days ago

Azure Developer CLI (azd) Dec 2025 – Extensions Enhancements, Foundry Rebranding, and Azure Pipelines Improvements

This post announces the December release of the Azure Developer CLI (`azd`). The post Azure Developer CLI (azd) Dec 2025 – Extensions En...

13 days ago

Unlock the power of distributed graph databases with JanusGraph and Azure Apache Cassandra

Connecting the Dots: How Graph Databases Drive Innovation In today’s data-rich world, organizations face challenges that go beyond simple tabl...

15 days ago

Azure Boards integration with GitHub Copilot

A few months ago we introduced the Azure Boards integration with GitHub Copilot in private preview. The goal was simple: allow teams to take a...

16 days ago

Microsoft Dataverse – Monitor batch workloads with Azure Monitor Application Insights

We are announcing the ability to monitor batch workload telemetry in Azure Monitor Application Insights for finance and operations apps in Mic...

17 days ago

Copilot Studio: Connect An Azure SQL Database As Knowledge

Copilot Studio can connect to an Azure SQL database and use its structured data as ... The post Copilot Studio: Connect An Azure SQL Database ...

18 days ago

Retirement of Global Personal Access Tokens in Azure DevOps

In the new year, we’ll be retiring the Global Personal Access Token (PAT) type in Azure DevOps. Global PATs allow users to authenticate across...

20 days ago

Azure Cosmos DB vNext Emulator: Query and Observability Enhancements

The Azure Cosmos DB Linux-based vNext emulator (preview) is a local version of the Azure Cosmos DB service that runs as a Docker container on ...

21 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy