Export Microsoft Planner Instances and Details Using Graph API and PowerShell

I recently had a requirement to include Planner instances in a tenant to tenant migration I was carrying out. The options for Planner migration are few and far between and the tooling we had in place was only scoped to migrate data. After some investigation, it was a job for Microsoft Graph API. I've begun …

Continue reading Export Microsoft Planner Instances and Details Using Graph API and PowerShell

Connect To Graph API Using PowerShell With Delegated Permissions

Previously on this blog, I have posted some Graph API / PowerShell examples. Most of these examples so far have used application permissions. I have a few examples planned over the next week or so which leverage Delegated Permissions which have a different authentication flow which we need to keep in mind when writing our …

Continue reading Connect To Graph API Using PowerShell With Delegated Permissions

OneDrive File Structure and Sharing Report – Graph API & PowerShell

I've previously posted a PowerShell script I put together to report the file and folder structure in OneDrive. This script used PowerShell and Graph API to loop through all files and folders and output the information to a CSV. I've recently had a requirement to add to that script, I didn't just need the file …

Continue reading OneDrive File Structure and Sharing Report – Graph API & PowerShell

Send Azure AD Guest User Invitations via Graph API

The built in controls in Azure AD for Guest User invitations are great for most cases. You can lock down guest invitations to specific users or groups and even specific recipient domains. When we look at more highly secure tenancies however, we often see requirements for approval flows or custom workflows to be associated with …

Continue reading Send Azure AD Guest User Invitations via Graph API

Graph API & PowerShell: Function To Use A Refresh Token To Renew An Access Token

In the process of updating my library of standard scripts and functions, I've taken the opportunity to change a lot of them to use Graph API rather than legacy EWS or PowerShell Modules. Using Graph helps to make them much more efficient and flexible and a lot of the functionality that I need is there …

Continue reading Graph API & PowerShell: Function To Use A Refresh Token To Renew An Access Token