简体   繁体   中英

Microsoft Graph API calendar/getSchedule POST request parameter

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM