Microsoft Graph

Latest Articles

Practical Graph: Incomplete Task Analysis for Planner Tasks

In the first article about using the Planner Graph API to report details of plans in a Microsoft 365 tenant, we explained the basics of how to extract data about plans, tasks, and buckets to create a report using a PowerShell script. Now we take the lessons learned a step forward to illustrate the principle that with access to data, the possibility for creative use of that data is boundless and upgrade the script to include a listing of incomplete tasks and per-user analysis of incomplete tasks for each plan.

June 12, 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

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 Charging for Teams Export Graph APIs from July

Microsoft will begin charging to use of Teams Export Graph APIs on a consumption meter basis from July 5. That might not seem such a bad idea, unless you're an ISV and would like to use the APIs for products like backup or tenant-to-tenant migration solutions. Or the tenants who will have to pay for the costs through Azure subscriptions. It seems like Microsoft is the only winner here and all the new APIs will do is add to their swelling cloud profits.

June 6, 2022

How to Figure Out What Microsoft Graph Permissions You Need

The Microsoft Graph operates on a least permission model, which means that developers are forced to ask for permissions for the actions they wish to perform. This is a very different approach to the way traditional PowerShell modules work, so it's an area to focus on when converting scripts which use cmdlets from the Azure AD and MSOL modules to the Microsoft Graph PowerShell SDK. In this article, we look at four ways to find out what permissions are needed to perform different actions and explain how the Graph use the permissions.

April 12, 2022