Forum Discussion

sunder's avatar
sunder
Copper Contributor
Jun 27, 2019

Is there a REST API to revoke office 365 app permissions?

We are using https://www.npmjs.com/package/passport-azure-ad in our website and user has option to authenticate himself and grant permission of accessing contacts to our application. The problem happens when user delete / disconnect himself from our website and try to login again via office 365 account. This time office365 still remembers the granted permission and doesn't ask to grant permission again. Is there a REST API we can hit to revoke the permission completely? Is there any way that we can programmatically revoke app permissions ?