Revoking access and / or refresh token from the graph API RRS feed

  • Question

  • Hello,

    I am building an application that needs to access the Outlook mails of the users. To read them I have created an application that interact with the graph API with OAuth2.

    I allow the user to remove the linking between their account on my application and their outlook address. More than simply deleting the access tokens on my side, I would like to send a request to the API to revoke my access tokens (effectively locking myself out) and make my application disappear from the page Outlook.com -> View Account -> Security & Privacy -> Apps & Services.

    I have found how to this with gmail at this address (https://developers.google.com/identity/protocols/OAuth2WebServer#tokenrevoke) but I did not manage to do the same with the graph API, could you please tell me how to do it?

    Wednesday, September 25, 2019 10:11 AM