Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 9.10.0 |
Location | Integration > Microsoft365 > Exchange > Calendar |
The Create Calendar Event step creates a calendar event for a connected Microsoft365 Exchange account.
Prerequisites
- This step requires the Microsoft 365 Exchange module to be installed before it will be available in the toolbox.
- A dependency must be created after installing the module in order for the the steps to be properly used.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Calendar Id | The Id of the calendar to which the calendar item will be added. | String |
Microsoft 365 Calendar Event | The specified calendar event to create. | Microsoft365CalendarEvent |
User Identifier | Identifier associated with the user to give the calendar event to. | String |
Settings
Property | Description | Data Type |
---|---|---|
Settings Override | Optional setting to override default Oauth token. | InputExchangeSettings |
Outputs
Property | Description | Data Type |
---|---|---|
Output | Outputs completed step information. | Microsoft365Event |
Common Errors
The Request Was Unsuccessful.
If the token defined cannot be used to access Microsoft Exchange, the step will cause an error.
To correct this, ensure a correct and valid oauth token has been established.
Exception Message:
DecisionsFramework.BusinessRuleException: [BusinessRule] The request was unsuccessful. ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Decisions.Microsoft365.Exchange.GraphRest.SendHttpRequest(ExchangeSettings settingsOverride, String url, HttpContent content, HttpMethod httpMethod)
--- End of inner exception stack trace ---
at Decisions.Microsoft365.Exchange.GraphRest.SendHttpRequest(ExchangeSettings settingsOverride, String url, HttpContent content, HttpMethod httpMethod)
at Decisions.Microsoft365.Exchange.GraphRest.CreateHttpRequest(ExchangeSettings settingsOverride, String urlExtension, HttpContent content, HttpMethod httpMethod)
at Decisions.Microsoft365.Exchange.GraphRest.HttpResponsePost(ExchangeSettings settingsOverride, String urlExtension, HttpContent content)
at Decisions.Microsoft365.Exchange.GraphRest.Post(ExchangeSettings settingsOverride, String urlExtension, HttpContent content)
at Decisions.Microsoft365.Exchange.Steps.ExchangeCalenderSteps.CreateCalendarEvent(Microsoft365CalendarEvent microsoft365CalendarEvent, String userIdentifier, String calendarId, InputExchangeSettings settingsOverride)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Related Information
Related Articles:
Exchange Web Services Module