MsGraph_EventInsert

Description

This activit allows to create a new Event in the specified Office Calendar.

Note:

For the activity to work, the reference application in the Azure Portal must have the following API permissions. This activity allows only APPLICATION type permissions (it cannot work with "DELEGATE" ones).
Required permissions:
Calendar: Calendars.ReadWrite

Online Meetings (only if CreateMicrosoftTeamsOnlineMeeting is enabled):OnlineMeetings.ReadWrite.All and Delegation

Users (only if CreateMicrosoftTeamsOnlineMeeting is enabled): User.Read.All

Directory (only if CreateMicrosoftTeamsOnlineMeeting is enabled): Directory.Read.All
Check this page for more information on Azure app API permissions.

Auth

AuthString InArgument<String> REQUIRED

The authorization string to authenticate in MicrosoftGraph service.

It is possible to obtain it using the activity MsGraph_Login. Look at its dedicated page for more details.

Calendar

CalendarId InArgument<String>

The id of the calendar where to insert the event.


Event

Event InArgument<MsEvent> REQUIRED

The event to insert.

It is possible to create it using the actvity MsGraph_EventCreateObj.

Online Meeting

CreateMicrosoftTeamsOnlineMeeting InArgument<Boolean>

Set to True if you want DocsMarshal to automatically create a Microsoft Teams online meeting associated to the event. The online meeting will be created as a mirror of the event: name, organizer, invitees, start date and end date will be copied.


Output

The inserted event


Settings

Timeout InArgument<TimeSpan>

The maximum time the activity might take to be executed. If it takes longer, an exception will be thrown.


User

UserId InArgument<String>

The id of the user's Microsoft account on whose behalf to perform the activity.

It can be found in the result fields of certain activities such as, for example, the owner of a file returned by the OneDrive_ItemGet activity.

UserName InArgument<String>

The email address of the user's Microsoft account on whose behalf to perform the activity.

In the case of the OneDrive activities, it will be the user who owns the drive on which you want to work, in the case of those of the calendars it will have to be their owner while in the case of events it will have to be their organizer user.