问题
Use Case
My application needs to dynamically create Office 365 Outlook calendars, share them with a variable number of Office 365 users, and manage the calendar events at any time.
Approach
Since the application needs to manage the calendars at any time, it needs to authenticate with Application Permission.
Using the Groups API, I can do the following:
- Create the group (and therefore the calendar)
- Add members
- Create events (in the calendar)
Problem
The problem is that creating events is "Not Supported" when using "Application Permission".
Because of this, it seems it is not possible to achieve my Use Case.
I'd like to understand more about this:
- What is the reason for this restriction on creating events? Since Application Permission are able to create Groups, it seems inconsistent to then prevent creating events.
- Is there another way to achieve my use case, perhaps without creating groups?
Thanks in advance.
回答1:
Currently App permissions are not available for Group calendars, as they are for a user's calendar.
I'd suggest starting with as ask in the Office Groups Api uservoice
来源:https://stackoverflow.com/questions/54401004/add-event-to-o365-group-calendar-with-application-permission