OAuth2 Authorization - Revoke application programmatically

Alex Esteve 1 Reputation point
2021-05-10T07:24:00.113+00:00

Hi the community!

I have given the access to my app regarding my outlook account with the Microsoft Graph.
I can remove all permissions given to this app through the portal https://account.live.com/consent
But I am still looking for an API in Microsoft graph that will allow to remove these permissions only with my microsoft access token so the user doesnt need to do it manually.

I checked with this one but the results sent is always empty https://learn.microsoft.com/en-us/graph/api/user-list-oauth2permissiongrants?view=graph-rest-1.0&tabs=http

thanks in advance for your help

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Philippe Signoret (Microsoft) 406 Reputation points Microsoft Employee
    2021-05-11T15:05:29.927+00:00

    No, Microsoft Graph does not currently have an API which support listing or revoking access to applications to which you have granted consent using your personal Microsoft account.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.