Articles, views, and insights about the practical application of the Microsoft Graph APIs (including the Microsoft Graph PowerShell SDK) from Practical365.com
Latest Articles
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.
This article explains how to use the Microsoft Graph API and PowerShell to extract meeting data from the calendars of room mailboxes to generate statistics about the usage of the rooms. Only confirmed meetings are included in the data.
In this article, Sean McAvinue explains how to Microsoft Graph PowerShell SDK to Interact with Exchange Online and SharePoint Online.
Every month, Microsoft generates a new version of the Graph PowerShell SDK. And if you use the SDK with Azure Automation, you must update automation accounts with the new modules. That's a pain to do manually, but easy to automate with PowerShell as we explain here.
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 […]
In this article, we consider the best way to use PowerShell to find the set of Microsoft 365 Groups with guest members. And once we find those groups, we can check if they have a suitable sensitivity label.
In this article we discuss how to create a new Microsoft 365 group using cmdlets from the Microsoft Graph PowerShell SDK. After creating the new group, we use the New-MgTeam cmdlet to team-enable the group.
This article explores how to use PowerShell and Microsoft Graph API requests to create a report about the files in a SharePoint Online site.
Practical365.com is a proud sponsor of The Experts Conference 2022. TEC is all about providing practical Microsoft 365 and Hybrid Activity Directory security, administration, and migration training without the fluff. All content is sourced from the very best in these fields, including Practical365.com authors, Microsoft MVPs, and Microsoft engineers.
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.
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.
Microsoft has announced a six month extension for support of the Azure AD Graph API. The new deadline is the end of 2022, which gives Microsoft 365 tenants some extra time to convert PowerShell scripts which use the Azure AD and MSOL modules. The original deadline for retirement of the Azure AD license management cmdlets remains at June 30, 2022.