Revoke admin consent via REST API

Sandor Tokodi 1 Reputation point
2021-01-26T14:50:29.417+00:00

Hi,

We are developing an application that using Graph permissions. For example "Join group calls and meetings as an app" with type "Application". In our web application, the tenant admin can give admin consent using a link like "GET https://login.microsoftonline.com/{tenant}/v2.0/adminconsent?..." .

Is it possible to revoke this admin consent with another link or API call without using AAD Azure Management Portal or Azure AD PowerShell? As I see it is possible for delegated admin consent using endpoint like "DELETE /oauth2PermissionGrants/{id}".

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,886 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2021-01-29T06:31:02.957+00:00

    Based on my understanding adminconsent is part of Microsoft Identity/Azure AD. Being said that i am not aware something is available from Teams end.

    1 person found this answer helpful.
    0 comments No comments