When Are the AzureAD and MSOL PowerShell Modules Deprecated?

At the beginning of this year, we learned through the following Azure AD blog post that the MSOLService and AzureAD PowerShell modules will be deprecated. These modules have stopped receiving updates and improvements; moreover, they will no

AI-assisted translation, approved by Mateo.

At the beginning of this year, we learned through the following Azure AD blog post that the MSOLService and AzureAD PowerShell modules will be deprecated. These modules have stopped receiving updates and improvements; moreover, they will not be updated to work in PowerShell 7.

The planned deprecation date for both modules is December 2022, according to the information provided.

But this is not rushed; at least since mid-2021, Microsoft has been announcing that all investment efforts related to enhancements in PowerShell are being directed to the Graph SDK. In this regard, it invites administrators to create scripts with this tool and turn them into future-proofing scripts.

As noted earlier, MS is replacing these Modules with the Microsoft Graph PowerShell SDK. This tool offers us a single unified access point to our Microsoft Services, such as Teams, Exchange, and Intune, among others. MS's ultimate goal is for every Azure AD feature to have an API in Microsoft Graph. This will allow us to manage Azure AD through the Microsoft Graph API or the Microsoft Graph PowerShell SDK.

It is important to start becoming familiar with this tool and migrate our scripts created with the AAD and MSOL modules, which those of us who administer Azure and M365 use so much day to day.

In this regard, here are some useful links to begin familiarizing ourselves with Graph:

  • Cmdlet equivalence (AAD and MSOL Cmdlet Map to Graph)

Find Azure AD and MSOnline cmdlets in Microsoft Graph PowerShell | Microsoft Docs

  • Blog post on managing Azure AD with Microsoft Graph.

Automate and manage Azure AD tasks at scale with the Microsoft Graph PowerShell SDK - Microsoft Tech Community

Thanks for reading. The learning continues in the next article.