Office 365: Create Event
Description
This step creates a new calendar event in a Microsoft 365 user’s calendar. You provide the event details like subject, start time, end time, location, and attendees. Use this step in workflows that schedule meetings, create calendar reminders, or automate event creation based on triggers from other systems.
Permission:
-
Following permissions are required to create an event in Office 365:
Permission type Permission (from least to most privileged) Delegated (work or school account) Calendars.ReadWrite
offline_access -
To access a shared mailbox, verify the following configurations are complete:
- Provide admin consent for the corresponding delegated *.Shared Microsoft Graph permissions
Mailbox permission on the shared mailbox Delegated Graph permission (app registration) Full Access (calendar write / delegate access) Calendars.ReadWrite.Shared
- Provide admin consent for the corresponding delegated *.Shared Microsoft Graph permissions
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name has to be unique in a single workflow. |
| Connection: | For details about app registration, see Office 365 App Registration for Grant Type – Password Grant or Office 365 App Registration for Grant Type Refresh Token | |
| 2 | Grant Type | Select the type of grant from Password Grant or Refresh Token. The data type is string. This field is mandatory. Note: It is recommended to select the grant type from Refresh Token. |
| 3 | Tenant ID | Tenant ID of Microsoft Account. The data type is string. This field is mandatory. |
| 4 | Client ID | Client ID of the Application created in Microsoft Account. The data type is string. This field is mandatory. |
| Client Secret: | ||
| 5 | Accept Value as variable/static | Leave checkbox unchecked to accept Client Secret value from a field in the previous steps of the stream using a drop down list. Else enable checkbox for Client Secret field to appear as Text box. |
| 6 | Client Secret | Specify the Client Secret generated in Microsoft Account. Client Secret is entered using a widget. The widget handles both Text (static value or environment variable) and Combo (drop down containing values from previous steps). If checkbox above is enabled Client Secret field appears as a Text box and accepts static or variable values. Else if checkbox above is disabled Client Secret field appears as a drop down to select fields from previous steps. The data type is secure string. This field is mandatory. |
| 7 | Username | Specify the name of the user whose email attachments are to be downloaded. |
| 8 | Password | Specify the password for the provided user name. |
| 9 | Refresh Token | Specify the refresh token required to authenticate the details. |
| 10 | Button: Test Connection | Test connection with Client ID and Client Secret provided. Verifies whether the connection is established or not. Note: For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed. |
| Input Fields: | ||
| 1 | Shared Mailbox Email | Specify the email address of a shared mailbox to add the new event to the associated calendar. Attendees see the scheduled event on the shared calendar. Leave the field blank to create the event for the authenticated account. Note: The authenticated account must have access permissions for the shared mailbox, else the step fails and returns a Microsoft Graph permission error. The field accepts static or environment variable value. |
| 1 | Time Zone | Specify the applicable time zone. The data type is string. This field is mandatory. Note: Only Windows Standard Time Zones are supported. |
| 2 | Get | Click to select the time zone from the dialog. |
| 3 | Start Date | Select the date when the meeting is supposed to start. The data type is string. This field is mandatory. Note: Date format supported are ‘YYYY-MM-DD’ and ‘YYYY/MM/DD’. |
| 4 | Start Time | Select the time when the meeting is supposed to start. The data type is string. This field is mandatory. Note: Time format supported is ‘hh:mm aa’. Ex: 09:30 AM |
| 5 | End Date | Select the date when the meeting is supposed to end. The data type is string. This field is mandatory. Note: Date format supported are ‘YYYY-MM-DD’ and ‘YYYY/MM/DD’. |
| 6 | End Time | Select the time when the meeting is supposed to end. The data type is string. This field is mandatory. Note: Time format supported is ‘hh:mm aa’. Ex: 09:30 AM |
| 7 | Subject | Specify the subject of the event. |
| 8 | Location | Specify the location where meeting is supposed to happen. |
| 9 | Content | Specify the contents of the event. |
| 10 | Is Online Meeting | Specify if the meeting is online or not. |
| 11 | Online Meeting Provider | Specify the details of the online meeting provider. |
| 12 | Required Attendees Emails | Provide the list of emails of attendees required for the meeting. |
| 13 | Optional Attendees Emails | Provide the list of emails of optional attendees required for the meeting. |
| 14 | Resources Emails | Provide the resources that are required for the meeting. |
| Output Fields: | ||
| 1 | Meeting ID | Specify the unique meeting ID. |
| 2 | Join URL | Specify the URL that the attendees must click to join the meeting. Note: For other domain, this step will not generate the join URL. |