
With the inclusion of Microsoft Graph PowerShell as an enterprise application (and MSOnline and AzureAD scripting killed by the end of 2022), the management of basic scripting rights should be accessible to admins of all levels (and not just semi-seasoned programmers.) PowerShell Script to Manage Admin ConsentĮas圓65Manager version 1.5 and later are built on the Microsoft Graph PowerShell SDK. The poor interface to manage enterprise application consents will put a lot of admins in a tough situation… Which doesn’t make sense at all:

Whenever you use an Azure application, like Microsoft Graph PowerShell, someone needs to consent to the application acting on your behalf using your permissions.

It only allows you to use your existing permissions.Ī consent can either be a User Consent granted to an individual user, or it can be an Admin Consent granted by an admin to all users. Microsoft Graph).Ī consent does not grant any permissions. The consent acts like a white-list allowing an identity (e.g. Any actions taken are logged with your ID in the unified audit logīut letting third-party (or Microsoft) applications run commands in your security context is not to be taken lightly – that’s why there is an additional layer of control: the Consent.You can only perform actions for which you have the rights.With delegated access, the Microsoft Graph PowerShell application can run your PowerShell commands in your security context. The purpose of Admin Consent is to keep tight control of actions that can be performed by Azure Applications, such as Microsoft Graph PowerShell or other Microsoft or third-party applications. We will use Eas圓65Manager as the use case to answer these questions.Įas圓65Manager is a plugin for Active Directory Users & Computers that (version 1.5 and later) uses Microsoft Graph PowerShell to enable Office 365 management directly from AD. How do you review current Admin Consent settings?.

This article will answer the following questions: The concept of Admin Consent can be a little confusing, and the official Microsoft documentation does a terrible job explaining it.
