-->

Add event to O365 group calendar with “Application

2019-07-29 12:51发布

问题:

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:

  1. Create the group (and therefore the calendar)
  2. Add members
  3. 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