How to Figure Out What Microsoft Graph Permissions You Need
Many Microsoft Graph API permissions are available to developers. The Graph works on a least permission model, so what permissions to use.
Many Microsoft Graph API permissions are available to developers. The Graph works on a least permission model, so what permissions to use.
The Microsoft Graph SDK for PowerShell is a good way to execute Microsoft Graph API queries from PowerShell scripts. In this article, we explain how to use the SDK with Azure Automation.
Although it's easy to write scripts using cmdlets in the Microsoft Graph PowerShell SDK, you probably don't want to execute the scripts interactively. In this article, we explain how to use certificate-based (app-only) authentication to run scripts.
After figuring out how to convert a script from using Azure AD licensing cmdlets (due to stop working in June 2022), we move on to create a licensing report for a tenant using cmdlets from the Microsoft Graph SDK for PowerShell.
The Microsoft Graph SDK for PowerShell exists to help developers use Graph API calls from PowerShell. It works, but like anything in life, there's a right way to connect and use the SDK and a wrong way.
On June 30, 2022, Azure AD and Microsoft Online Services cmdlets will stop working for license management. The result is that you need to upgrade PowerShell scripts which use these cmdlets.