-1

Could anyone please explain how to use Microsoft Graph API's calendar/getSchedule request for application permission type?

I am using the the it in my app as a cronjob, means that i need to use 'POST /users/{id|userPrincipalName}/calendar/getSchedule' instead of 'POST /me/calendar/getSchedule' since the later requires a user to sign in. My question is which user I should choose for {id|userPrincipalName}? Just random one from the list I want to check or just the admin id will do?

I have found a github issue regarding this but no one has answered it yet.

work sarah
  • 69
  • 6

1 Answers1

0

You can use any user or admin id on the condition that the id has a mailbox which enable them to access a calandar.

maggierain
  • 101
  • 3