Tag: Microsoft Graph PowerShell SDK

Latest Articles

Microsoft Sets March 2025 Date for Retirement of Old Azure AD PowerShell Modules

After much humming and hawing, Microsoft reset the retirement date for several old Azure AD modules to March 30, 2024. The nine-month extension is there to help customers convert scripts to use the Microsoft Graph PowerShell SDK or Graph API requests. On the upside, the extra time is good as it creates space to migrate scripts. On the downside, there's still some challenges in converting from the old Azure AD modules.

June 16, 2023

Practical Graph: Deal with Common Errors when Running Graph Commands with PowerShell

It's great to be able to run Graph API requests in PowerShell scripts if everything goes right. This article describes why some common Graph API errors occur in scripts and what to do when the errors happen. Most errors are due to permissions assigned to the Azure AD apps used to run scripts and getting the basics will resolve those problems.

February 6, 2023

Practical Graph: Create a Mailbox Contents Report

Everyone likes reports. Well, here's a PowerShell script to create a report of Exchange Online mailbox content. The script uses the Graph API to list every item more than a year old (you can remove the filter if you like) and creates an Excel workbook containing the data. What you do with the information afterwards is up to you!

October 3, 2022

Introduction to the Microsoft Graph PowerShell SDK

A Unified Approach to Microsoft 365 management The Microsoft Graph API has been around for some time now and Microsoft is moving more management functions (such as License Management for Azure AD Accounts) to the platform. When Microsoft transitions a function to the Graph, organizations might have to update PowerShell scripts. Getting started with the […]

September 28, 2022

Microsoft Extends Retirement Date for Azure AD and MSOL License Assignment Cmdlets

Microsoft has extended the deprecation date for the Azure AD license management cmdlets to March 31, 2023. After that time, the cmdlets won't work. The strong recommendation is to replace all the old Azure AD and MSOL license management cmdlets in scripts with Microsoft Graph PowerShell SDK cmdlets or Graph API requests. You have an extra 7 months to do the job, do there's no excuse!

August 1, 2022

Microsoft 365 License Management for User Accounts with the Microsoft Graph PowerShell SDK

MSOL and AzureAD license management cmdlets stop working at the end of March 2024. By then, Microsoft 365 will have switched to a new license management platform. The Microsoft Graph PowerShell SDK includes cmdlets which can replace the older code, once you know how. The good news is that this article is packed full of practical examples of how to add, remove, and update licenses assigned to Entra ID user accounts.

April 13, 2022