Access without app permisions set

William Thomas 65 Reputation points
2023-03-10T14:48:13.4066667+00:00

Hi,

I am currently developing an app using the graph php SDK that accesses a logged in users calendar and as such I assumed that it would need the delegated permission calendar.read adding to my app registration in Azure, however even without this permission as long as I define calendar.read in the scope as the user logs in then it appear they are not needed.

Is this expected behaviour or might this change in the future?

Best

Will

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

Accepted answer
  1. CharanyaB-MSFT 1,891 Reputation points Microsoft External Staff
    2023-03-10T17:16:56.59+00:00

    Hello @William Thomas,

    Thanks for reaching out!

    For apps that run with a signed-in user, you can request delegated permissions in the scope parameter. These permissions delegate the privileges of the signed-in user to your app, allowing it to act as the signed-in user when making calls to Microsoft Graph.

    Please refer the below document for more details:

    https://learn.microsoft.com/en-us/graph/auth-v2-user#:~:text=Microsoft%20Graph%20exposes,and%20consent.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


0 additional answers

Sort by: Most helpful

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.