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

New Contributor

We are using 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 ?

2 Replies

Should be possible via the (beta) appRoleAssignments Graph endpoint:

Or you can always use PowerShell.