Introduction to the Microsoft Graph (MgGraph) Powershell Module & API

As you might know, Microsoft will stop supporting the MSOnline and AzureAD Powershell Modules for managing Entra Identity and other Microsoft 365 related services in the near future. Where the current end of life date was set to previous month, this has now been postponed to March 30, 2024.

As a successor to the above mentioned modules, the new Microsoft Graph (MgGraph) API and accompanying powershell commandlets are available for download here. I would advise you to install both the v1.0 and the beta version of the SDK. Why will be made clear in this article.

In the remainder of this article, I will explain how to move from using the legacy modules to the Microsoft Graph API and accompanying Powershell Module. For demonstration purposes, we are going to turn off directory synchronization by using the MgGraph Powershell Module and API.

Setting up your environment

Continue reading “Introduction to the Microsoft Graph (MgGraph) Powershell Module & API”