Remove old scopes

William Thomas 65 Reputation points
2023-03-12T14:34:17.2433333+00:00

I am working on a project that requires the User.Read delegated permission as part of the single sign on process and for one or two other things. The users can then choose if they also want to give the app access to thier calendar and if the do they consent to the Calendar.Read delegated permission. Is it possible to later remove the Calendar.Read scope for this specific user?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,447 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 140.8K Reputation points MVP
    2023-03-12T16:13:21.7033333+00:00

    The user can remove it themselves within their mail client

    or

    https://learn.microsoft.com/en-us/graph/api/calendarpermission-delete?view=graph-rest-1.0&tabs=http

    DELETE /users/{id}/calendar/calendarPermissions/{id}


0 additional answers

Sort by: Most helpful