# mulesoft Microsoft Outlook 365 Connector - Full Documentation --- product: Microsoft Outlook 365 Connector version: 1.3 is-latest-version: true --- # Microsoft Outlook 365 1.3 Examples > For the full documentation index, see: https://docs.mulesoft.com/llms.txt The following examples show how to perform operations that interact with messages, events, and attachment resources in Microsoft Outlook 365 Connector: - [Create Message](#create-message) - [Delete Message](#delete-message) - [Get Message](#get-message) - [List Messages](#list-messages) - [Delete Event](#delete-event) - [Create Event](#create-event) - [Update Event](#update-event) - [List Events](#list-events) - [Get Event](#get-event) - [Forward Event](#forward-event) - [Cancel Event](#cancel-event) - [Accept Event](#accept-event) - [Decline Event](#decline-event) - [List Event Attachments](#list-event-attachments) - [Add Event Attachment](#add-event-attachment) - [Add Message Attachment](#add-message-attachment) - [List Message Attachments](#list-message-attachments) - [Get Message Attachment](#get-message-attachment) - [Get Event Attachment](#get-event-attachment) - [Send Message](#send-message) - [Send Mail](#send-mail) - [Create Reply All to Message](#create-reply-all-to-message) - [Reply All to Message](#reply-all-to-message) > [!NOTE] Some operations need prerequisite data, for example, to get a message or an event based on > its ID, you must create a message or an event first. ## Create Message This Mule flow creates a message to send later. The message is saved in the Drafts folder. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Transform Message** Transforms the HTTP input used to create a message - **Create message** Creates a draft of the message - **Transform Message** Outputs the results of the **Create message** operation in JSON format - **Logger** Shows the HTTP response from the **Create message** operation ![Studio Flow for the Create Message operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/create-message.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml awesome!" }, "toRecipients":[ { "emailAddress":{ "address":"muletest@mulesoft.com" } }, { "emailAddress":{ "address":"muletest@mulesoft.com" } } ] }]]> ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/create-msg](http://localhost:8083/create-msg)`. ## Delete Message This Mule flow deletes an existing message. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Delete message** Deletes a message from the specified user’s mailbox ![Studio Flow for the Delete Message operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/delete-message.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/delete-msg](http://localhost:8083/delete-msg)`. ## Get Message This Mule flow retrieves an existing message. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Get message** Retrieves the properties and relationships of a message object ![Studio Flow for the Get Message operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/get-message.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/get-msg](http://localhost:8083/get-msg)`. ## List Messages This Mule flow retrieves all of the messages from the signed-in user’s mailbox. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **List messages** Retrieves messages from the signed-in user’s mailbox, including messages from the Deleted Items and Clutter folders ![Studio Flow for the List Messages operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/list-messages.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/list-messages](http://localhost:8083/list-messages)`. ## Delete Event This Mule flow deletes an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Delete event** Removes the specified event from the calendar - **Logger** Shows the HTTP response from the **Delete event** operation ![Studio Flow for the Delete Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/delete-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/delete-event](http://localhost:8083/delete-event)`. ## Create Event This Mule flow creates an event in a default user’s calendar or in a specified calendar. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Create event** Creates an event in a default user’s calendar or in a specified calendar - **Transform Message** Outputs the results of the **Create event** operation in JSON format - **Logger** Shows the HTTP response from the **Create event** operation ![Studio Flow for the Create Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/create-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/create-event](http://localhost:8083/create-event)`. ## Update Event This Mule flow updates an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Update event** Updates the properties of the event object - **Transform Message** Outputs the results of the **Update event** operation in JSON format - **Logger** Shows the HTTP response from the **Update event** operation ![Studio Flow for the Update Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/update-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/update-event](http://localhost:8083/update-event)`. ## List Events This Mule flow lists all events. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **List events** Retrieves a list of event objects from the user’s mailbox - **Transform Message** Outputs the results of the **List events** operation in JSON format - **Logger** Shows the HTTP response from the **List events** operation ![Studio Flow for the List Events operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/list-events.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/list-events](http://localhost:8083/list-events)`. ## Get Event This Mule flow retrieves an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Get event** Gets the properties and relationships of the specified event object - **Transform Message** Outputs the results of the **Get event** operation in JSON format - **Logger** Shows the HTTP response from the **Get event** operation ![Studio Flow for the Get Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/get-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/get-event](http://localhost:8083/get-event)`. ## Forward Event This Mule flow forwards an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Forward event** Forwards the meeting request to a new recipient - **Logger** Shows the HTTP response from the **Forward event** operation ![Studio Flow for the Forward Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/forward-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/forward-event](http://localhost:8083/forward-event)`. ## Cancel Event This Mule flow cancels an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Cancel event** Cancels the specified event from a user’s calendar - **Logger** Shows the HTTP response from the **Cancel event** operation ![Studio Flow for the Cancel Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/cancel-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/cancel-event](http://localhost:8083/cancel-event)`. ## Accept Event This Mule flow accepts an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Accept event** Accepts the specified event from a user’s calendar - **Logger** Shows the HTTP response from the **Accept event** operation ![Studio Flow for the Accept Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/accept-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/accept-event](http://localhost:8083/accept-event)`. ## Decline Event This Mule flow declines an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Decline event** Declines the specified event from a user’s calendar - **Logger** Shows the HTTP response from the **Decline event** operation ![Studio Flow for the Decline Event operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/decline-event.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/decline-event](http://localhost:8083/decline-event)`. ## List Event Attachments This Mule flow lists the attachments of an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **List event attachments** Retrieves a list of attachment objects attached to an event - **Transform Message** Outputs the results of the **List event attachments** operation in JSON format - **Logger** Shows the HTTP response from the **List event attachments** operation ![Studio Flow for the List Event Attachments operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/list-event-attachments.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/list-event-attachments](http://localhost:8083/list-event-attachments)`. ## Add Event Attachment This Mule flow adds an attachment to an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Add event attachment** Adds an attachment to an event - **Transform Message** Outputs the results of the **Add event attachment** operation in JSON format - **Logger** Shows the HTTP response from the **Add event attachment** operation ![Studio Flow for the Add Event Attachment operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/add-event-attachment.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/add-event-attachment](http://localhost:8083/add-event-attachment)`. ## Add Message Attachment This Mule flow adds an attachment to an existing message. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Add message attachment** Adds an attachment to a message - **Transform Message** Outputs the results of the **Add message attachment** operation in JSON format - **Logger** Shows the HTTP response from the **Add message attachment** operation ![Studio Flow for the Add Message Attachment operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/add-message-attachment.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/add-message-attachment](http://localhost:8083/add-message-attachment)`. ## List Message Attachments This Mule flow lists all of the attachments of an existing message. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **List message attachments** Retrieves a list of attachment objects attached to a message - **Transform Message** Outputs the results of the **List message attachments** operation in JSON format - **Logger** Shows the HTTP response from the **List message attachments** operation ![Studio Flow for the List Message Attachments operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/list-message-attachments.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/list-message-attachments](http://localhost:8083/list-message-attachments)`. ## Get Message Attachment This Mule flow retrieves an attachment from an existing message. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Get message attachment** Reads the properties and relationships of an attachment that is attached to a user message - **Logger** Shows the HTTP response from the **Get message attachment** operation ![Studio Flow for the Get Message Attachment operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/get-message-attachment.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/get-message-attachment](http://localhost:8083/get-message-attachment)`. ## Get Event Attachment This Mule flow retrieves an attachment from an existing event. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Get event attachment** Reads the properties and relationships of an attachment that is attached to an event - **Logger** Shows the HTTP response from the **Get event attachment** operation ![Studio Flow for the Get Event Attachment operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/get-event-attachment.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/get-event-attachment](http://localhost:8083/get-event-attachment)`. ## Send Message This Mule flow sends a message from the Drafts folder, which the **Create message** operation created previously. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Send message** Sends a message from the Drafts folder - **Logger** Shows the HTTP response from the **Send message** operation ![Studio Flow for the Send Message operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/send-message.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/send-message](http://localhost:8083/send-message)`. ## Send Mail This Mule flow sends a message without creating a draft message first. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Send mail** Sends the message specified in the request body - **Logger** Shows the HTTP response from the **Send mail** operation ![Studio Flow for the Send Mail operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/send-mail.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/send-mail](http://localhost:8083/send-mail)`. ## Create Reply All to Message This Mule flow creates a reply-all message that is saved in the Drafts folder. The message can then be sent using the **Send message** operation. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Create reply all to message** Creates a draft to reply to the sender and all the recipients of the specified message - **Transform Message** Outputs the results of the **Create reply all to message** operation in JSON format - **Logger** Shows the HTTP response from the **Create reply all to message** operation ![Studio Flow for the Create Reply All to Message operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/create-reply-all-to-message.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/create-reply-all-to-message](http://localhost:8083/create-reply-all-to-message)`. ## Reply All to Message This Mule flow creates a reply-all message, which is sent without creating it first in the Drafts folder using the **Create message** operation. This example uses the following operations: - **HTTP Listener** Accepts data from HTTP requests - **Reply all to message** Replies to all recipients of a message - **Logger** Shows the HTTP response from the **Reply all to message** operation ![Studio Flow for the Reply All to Message operation](/mulesoft/current/en-us/microsoft-outlook-365-connector/latest/_images/reply-all-to-message.png) ### XML for This Example Paste this code into the Studio XML editor to quickly load the flow for this example into your Mule app: ```xml ``` ### Steps for Running This Example 1. Verify that your connector is configured. 2. Save the project. 3. From a web browser, test the application by entering `[http://localhost:8083/reply-all-to-message](http://localhost:8083/reply-all-to-message)`. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: Microsoft Outlook 365 Connector version: 1.3 is-latest-version: true --- # Microsoft Outlook 365 Connector 1.3 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Connector for Microsoft Outlook 365 (Outlook 365 Connector) enables you to integrate with the Microsoft Outlook 365 service. For compatibility information and fixed issues, refer to the Microsoft Outlook 365 Connector Release Notes. ## Before You Begin To use this connector, you must be familiar with: - Microsoft Outlook 365 API - Anypoint Connectors - Mule runtime engine (Mule) - Elements and global elements in a Mule flow - Creating a Mule app using Anypoint Studio or Anypoint Code Builder Before creating an app, you must have: - Credentials to access the target resource - Anypoint Studio or Anypoint Code Builder ## Common Use Cases for the Connector Outlook 365 Connector currently provides email and calendar capabilities. ## Authentication Types Outlook 365 Connector uses the following authentication methods: - OAuth 2.0 authorization code grant, which is used in applications that are installed on a device to gain access to protected resources. - OAuth 2.0 client credentials grant, which uses the identity of the application to access web-hosted resources. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Use Exchange to Discover Connectors, Templates, and Examples](https://docs.mulesoft.com/connectors/introduction/intro-use-exchange) - [Microsoft Outlook 365 Connector Reference](https://docs.mulesoft.com/microsoft-outlook-365-connector/latest/microsoft-outlook-365-connector-reference) - [Salesforce Help](https://help.salesforce.com) --- product: Microsoft Outlook 365 Connector version: 1.3 is-latest-version: true --- # Microsoft Outlook 365 Connector 1.3 Reference > For the full documentation index, see: https://docs.mulesoft.com/llms.txt > [!NOTE] Where possible, we changed noninclusive terms to align with our company value of Equality. > We maintained certain terms to avoid any effect on customer implementations. > [!NOTE] All permissions for this connector must be assigned under the Microsoft Graph API. ## Configurations --- ### Outlook365 Config #### Parameters
NameTypeDescriptionDefault ValueRequired

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Connection

Connection types for this configuration.

x

Name

String

ID used to reference this configuration.

x

Expiration Policy

Configures the minimum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.

Read Timeout

Number

Specifies the amount of time that the consumer waits for a response before it times out.

60

Read Timeout Time unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Read Timeout field.

SECONDS

#### Connection Types ##### OAuth v2.0 Authorization Code Use OAuth 2.0 to delegate user authentication to the service hosting the user account. For more information, refer to [Configuring OAuth 2.0 for Connectors](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2), [Configuring OAuth 2.0 for Connectors on CloudHub](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2-cloudhub), or [OAuth Support in the SDK](https://docs.mulesoft.com/mule-sdk/latest/oauth). ###### Value Providers Required Permissions The following tables show the required permissions to include as scopes to your connection for value providers in the operation: **Calendar value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read, Calendars.Read.Shared, Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.Read, Calendars.Read.Shared, Calendars.ReadWrite

**Event value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read, Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.Read, Calendars.ReadWrite

**User value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

User.ReadBasic.All, User.Read.All, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All

Delegated (personal Microsoft account)

Not supported.

**Outlook timezone value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

User.Read, User.ReadBasic.All

Delegated (personal Microsoft account)

User.Read

**Mail folder value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadBasic, Mail.Read, Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadBasic, Mail.Read, Mail.ReadWrite

###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy configuration

Configures a proxy for outbound connections.

Base Url

String

Base URL for Microsoft Graph endpoints to access from the connector and from which all other endpoints are derived.

https://graph.microsoft.com/v1.0

Response Type

String

Specifies the method to use to send the resulting token back to your app. This must be query.

query

TLS configuration (DEPRECATED)

Configures TLS. If using the HTTPS protocol, you must configure TLS.

Reconnection

Configures a reconnection strategy to use when a connector operation fails to connect to an external server.

Consumer Key

String

OAuth consumer key, as registered with the service provider.

x

Consumer Secret

String

OAuth consumer secret, as registered with the service provider.

x

Authorization Url

String

URL of the service provider’s authorization endpoint.

https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize

Access Token Url

String

URL of the service provider’s access token endpoint.

https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token

Scopes

String

OAuth scopes to request during the OAuth dance. This value defaults to the scopes in the annotation.

Resource Owner Id

String

Resource owner ID to use with the authorization code grant type.

Before

String

Name of the flow to execute immediately before starting the OAuth dance.

After

String

Name of the flow to execute immediately after receiving an access token.

Listener Config

String

Configuration for the HTTP listener that listens for requests on the access token callback endpoint.

x

Callback Path

String

Path of the access token callback endpoint.

x

Authorize Path

String

Path of the local HTTP endpoint that triggers the OAuth dance.

x

External Callback Url

String

URL that the OAuth provider uses to access the callback endpoint if the endpoint is behind a proxy or accessed through an indirect URL.

Object Store

String

Configures the object store that stores data for each resource owner. If not configured, Mule uses the default object store.

##### OAuth v2.0 Client Credentials Use OAuth 2.0 to delegate user authentication to the service hosting the user account. For more information, refer to [Configuring OAuth 2.0 for Connectors](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2), [Configuring OAuth 2.0 for Connectors on CloudHub](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2-cloudhub), or [OAuth Support in the SDK](https://docs.mulesoft.com/mule-sdk/latest/oauth). The OAuth 2.0 client credentials grant gets access to web-hosted resources by using the identity of the application. ###### Value Providers Required Permissions The following tables show the required permissions to include as scopes to your connection for value providers in the operation: **Calendar value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Application

Calendars.Read, Calendars.Read.Shared, Calendars.ReadWrite

**Event value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Application

Calendars.Read, Calendars.ReadWrite

**User value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Application

User.Read.All, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All

**Outlook timezone value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Application

User.Read.All

**Mail folder value provider permissions**: The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Application

Mail.ReadBasic.All, Mail.Read, Mail.ReadWrite

###### Parameters
NameTypeDescriptionDefault ValueRequired

Proxy configuration

Configures a proxy for outbound connections.

Base Url

String

Base URL for Microsoft Graph endpoints to access from the connector and from which all other endpoints are derived.

https://graph.microsoft.com/v1.0

TLS configuration (DEPRECATED)

Configures TLS. If using the HTTPS protocol, you must configure TLS.

Reconnection

Configures a reconnection strategy to use when a connector operation fails to connect to an external server.

Client Id

String

OAuth client ID, as registered with the service provider.

x

Client Secret

String

OAuth client secret, as registered with the service provider.

x

Token Url

String

Service provider’s token endpoint URL.

https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token

Scopes

String

OAuth scopes to request during the OAuth dance. This value defaults to the scopes in the annotation.

Object Store

String

Configures the object store that stores data for each resource owner. If not configured, Mule uses the default object store.

## Associated Operations - [Accept Event](#AcceptEvent) - [Add Event Attachment](#AddEventAttachment) - [Add Message Attachment](#AddMessageAttachment) - [Cancel Event](#CancelEvent) - [Copy Message](#CopyMessage) - [Create Event](#CreateEvent) - [Create Message](#CreateMessage) - [Create Reply All To Message](#CreateReplyAllToMessage) - [Create Reply To Message](#CreateReplyToMessage) - [Decline Event](#DeclineEvent) - [Delete Event](#DeleteEvent) - [Delete Event Attachment](#DeleteEventAttachment) - [Delete Message](#DeleteMessage) - [Delete Message Attachment](#DeleteMessageAttachment) - [Forward Event](#ForwardEvent) - [Get Event](#GetEvent) - [Get Event Attachment](#GetEventAttachment) - [Get Message](#GetMessage) - [Get Message Attachment](#GetMessageAttachment) - [List Event Attachments](#ListEventAttachments) - [List Events](#ListEvents) - [List Message Attachments](#ListMessageAttachments) - [List Messages](#ListMessages) - [Move Message](#MoveMessage) - [Reply All To Message](#ReplyAllToMessage) - [Reply To Message](#ReplyToMessage) - [Send Mail](#SendMail) - [Send Message](#SendMessage) - [Unauthorize](#Unauthorize) - [Update Event](#UpdateEvent) - [Update Message](#UpdateMessage) ## Associated Sources - [On Modified Event](#ModifiedEventListener) - [On New Email](#NewEmailListener) - [On New Event](#NewEventListener) ## Operations ## Accept Event `` Accepts the specified event from a user’s calendar. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Accept Event Properties

Object

Accepts information for the event.

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Add Event Attachment `` Adds an attachment to an event. This operation limits the size of the attachment you can add to 3 MB. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that contains the added attachment.

x

Attachment For Event

Any

Attachment added to the event.

#[payload]

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Add Message Attachment `` Adds an attachment to a message. This operation limits the size of the attachment you can add to 3 MB. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message that contains the added attachment.

x

Mail Folder Id

String

ID of the mail folder that contains the message.

Attachment For Message

Any

Attachment added to the message.

#[payload]

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Cancel Event `` Cancels the specified event from a user’s calendar. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Comment

String

Reason for cancelling the event.

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Copy Message `` Copies a message to a folder. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the previously created message entity.

x

Destination Id

String

ID of the destination folder.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Create Event `` Creates an event in a user’s default calendar or in a specified calendar. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event

Object

Event to create.

#[payload]

Outlook Time Zone

String

Time zone for the start and end times in the response. Although this parameter is supported, it does not work for the Create Event operation due to the implementation of the Microsoft API.

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Create Message `` Creates a draft of a new message in either JSON or MIME format. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message

Any

Message to create.

#[payload]

Request Body Content Format

Enumeration, one of:

  • APPLICATION_JSON

  • MIME

Content type for the request payload.

APPLICATION_JSON

Mail Folder Id

String

ID of the mail folder that creates the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Create Reply All To Message `` Creates a draft to reply to the sender and all the recipients of the specified message in either JSON or MIME format. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message that replies to all.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Request Body Content Format

Enumeration, one of:

  • APPLICATION_JSON

  • MIME

Content type for the request payload.

APPLICATION_JSON

Reply

Any

Reply all message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Create Reply To Message `` Creates a draft of the reply to the specified message in either JSON or MIME format. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the reply message.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Request Body Content Format

Enumeration, one of:

  • APPLICATION_JSON

  • MIME

Content type for the request payload.

APPLICATION_JSON

Reply

Any

Reply message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Decline Event `` Declines the specified event from a user’s calendar. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Decline Event Properties

Object

Declines information for the event.

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Delete Event `` Removes the specified event from the calendar that contains the event. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Delete Event Attachment `` Deletes an attachment from an event. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Attachment Id

String

ID of the attachment to delete.

x

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Delete Message `` Deletes a message from the specified user’s mailbox. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message to delete.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Delete Message Attachment `` Deletes an attachment from a message. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message that performs the action.

x

Attachment Id

String

ID of the attachment to delete.

x

Mail Folder Id

String

Mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Forward Event `` Enables the organizer or attendee of a meeting event to forward the meeting request to a new recipient. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read

Delegated (personal Microsoft account)

Calendars.Read

Application

Calendars.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Forward Event Properties

Object

Forward information for the event.

#[payload]

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Get Event `` Gets the properties and relationships of the specified event object. Currently, this operation returns event bodies in HTML only. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read

Delegated (personal Microsoft account)

Calendars.Read

Application

Calendars.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

O Data Query Params

Additional query parameters or filters.

Outlook Time Zone

String

Time zone for the start and end times in the response.

Outlook Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

Content type of the event body returned.

HTML

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Get Event Attachment `` Reads the properties and relationships of an attachment that is attached to an event. You can append the path segment `/$value` to get the raw contents of a file or item attachment. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read

Delegated (personal Microsoft account)

Calendars.Read

Application

Calendars.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that retrieves the attachment.

x

Attachment Id

String

ID of the attachment retrieved from the event.

x

O Data Query Params

Additional query parameters or filters.

Calendar Id

String

ID of the calendar that holds the event.

Get Raw Content

Boolean

Indicates whether to get the raw content of the attachment or not.

false

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Array of Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Get Message `` Retrieves the properties and relationships of a message object. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadBasic, Mail.Read

Delegated (personal Microsoft account)

Mail.ReadBasic, Mail.Read

Application

Mail.ReadBasic.All, Mail.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the retrieved message.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

The format of the body and uniqueBody properties to return.

HTML

O Data Query Params

Additional query parameters or filters.

Get MIME Content

Boolean

Flag that indicates whether to return the MIME content of the message or not.

false

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Get Message Attachment `` Reads the properties and relationships of an attachment that is attached to a user message. You can append the path segment `/$value` to get the raw contents of a file or item attachment. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.Read

Delegated (personal Microsoft account)

Mail.Read

Application

Mail.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message that retrieves an attachment.

x

Attachment Id

String

ID of the attachment that the message retrieves.

x

O Data Query Params

Additional query parameters or filters.

Mail Folder Id

String

Mail folder that holds the message.

Get Raw Content

Boolean

Indicates whether to get the raw content of the attachment or not.

false

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Array of Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## List Event Attachments `` Retrieves a list of attachment objects attached to an event. If not specified by the **Top** parameter, the default page size is 300. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read

Delegated (personal Microsoft account)

Calendars.Read

Application

Calendars.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

O Data Query Params

Additional query parameters or filters.

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Array of Message of Binary payload and Void attributes

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## List Events `` Gets a list of event objects from the user’s mailbox. The list contains single instance meetings and series masters. Currently, this operation returns event bodies in only HTML. If not specified by the **Top** parameter, the default page size is 300. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read, Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.Read, Calendars.ReadWrite

Application

Calendars.Read, Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

O Data Query Params

Additional query parameters or filters.

Outlook Time Zone

String

Time zone for the start and end times in the response.

Outlook Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

Content type of the event body returned.

HTML

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Array of Message of Binary payload and Void attributes

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## List Message Attachments `` Retrieves a list of attachment objects attached to a message. If not specified by the **Top** parameter, the default page size is 300. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.Read

Delegated (personal Microsoft account)

Mail.Read

Application

Mail.Read

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

Message that performs the action.

x

O Data Query Params

Additional query parameters or filters.

Mail Folder Id

String

Mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Array of Message of Binary payload and Void attributes

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## List Messages `` Gets the messages from the signed-in user’s mailbox, including the Deleted Items and Clutter folders. If not specified by the **Top** parameter, the default page size is 300. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadBasic, Mail.Read, Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadBasic, Mail.Read, Mail.ReadWrite

Application

Mail.ReadBasic.All, Mail.Read, Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

O Data Query Params

Additional query parameters or filters.

Outlook Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

The format of the body and uniqueBody properties to return.

HTML

Mail Folder Id

String

ID of the mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Output Mime Type

String

MIME type of the payload that this operation outputs.

Output Encoding

String

Encoding of the payload that this operation outputs.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Array of Message of Binary payload and Void attributes

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Move Message `` Moves a message to another folder within the specified user’s mailbox. This creates a new copy of the message in the destination folder and removes the original message. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the previously created message entity.

x

Destination Id

String

ID of the destination folder.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Reply All To Message `` Replies to all recipients of a message using either JSON or MIME format. The message is then saved in the Sent Items folder. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.Send

Delegated (personal Microsoft account)

Mail.Send

Application

Mail.Send

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message that replies to all.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Request Body Content Format

Enumeration, one of:

  • APPLICATION_JSON

  • MIME

Content type for the request payload.

APPLICATION_JSON

Reply

Any

Message to publish.

#[payload]

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Reply To Message `` Replies to the sender of a message using either JSON or MIME format. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.Send

Delegated (personal Microsoft account)

Mail.Send

Application

Mail.Send

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message that replies to all.

x

Mail Folder Id

String

ID of the mail folder that holds the message.

Request Body Content Format

Enumeration, one of:

  • APPLICATION_JSON

  • MIME

Content type for the request payload.

APPLICATION_JSON

Reply

Any

Message to publish.

#[payload]

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Send Mail `` Sends the message specified in the request body. The message is saved in the Sent Items folder by default. This operation limits the size of the attachment you can add to 3 MB. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.Send

Delegated (personal Microsoft account)

Mail.Send

Application

Mail.Send

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message

Any

Message to send.

#[payload]

Request Body Content Format

Enumeration, one of:

  • APPLICATION_JSON

  • MIME

Content type for the request payload.

APPLICATION_JSON

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Send Message `` Sends a message from the draft folder. The draft message can be a new message draft, reply draft, reply-all draft, or forward draft. The message is then saved in the Sent Items folder. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.Send

Delegated (personal Microsoft account)

Mail.Send

Application

Mail.Send

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

Message to send.

x

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Binary

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Unauthorize `` Deletes all the access token information of a given resource owner ID so that it’s impossible to execute any operation for that user without first repeating the authorization dance. ### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

Resource Owner Id

String

ID of the resource owner for whom to invalidate access.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

### For Configurations - [Outlook365 Config](#Outlook365Config) ## Update Event `` Updates the properties of the event object. When updating the time zone of the start or end time of an event, first find the supported time zones to ensure you set only time zones that have been configured for the user’s mailbox server. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.ReadWrite

Application

Calendars.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Event Id

String

ID of the event that performs the action.

x

Event Fields To Be Updated

Object

Properties for the event to update.

#[payload]

Calendar Id

String

ID of the calendar that holds the event.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Update Message `` Updates the properties of a message object. The following table shows the required permissions for this operation:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadWrite

Application

Mail.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

ID of the user who performs the action.

x

Message Id

String

ID of the message to update.

x

Message Fields To Be Updated

Object

Map containing keys as the fields to update and values as the new values for the update.

#[payload]

Mail Folder Id

String

ID of the mail folder that holds the message.

Read Timeout

Number

Read timeout value. Used to override the read timeout values defined in the connector configuration.

Read Timeout Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit value for the Read Timeout field.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Streaming Strategy

Configures how Mule processes streams. The default is to use repeatable streams.

Target Variable

String

Name of the variable that stores the operation’s output.

Target Value

String

Expression that evaluates the operation’s output. The outcome of the expression is stored in the Target Variable field.

#[payload]

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

Attributes Type

Object

### For Configurations - [Outlook365 Config](#Outlook365Config) ### Throws - OUTLOOK365:APPLICATION\_THROTTLED - OUTLOOK365:BAD\_REQUEST - OUTLOOK365:CONNECTIVITY - OUTLOOK365:FORBIDDEN - OUTLOOK365:INVALID\_CONNECTION - OUTLOOK365:INVALID\_CREDENTIALS - OUTLOOK365:NOT\_FOUND - OUTLOOK365:RETRY\_EXHAUSTED - OUTLOOK365:SERVER\_ERROR - OUTLOOK365:TIMEOUT - OUTLOOK365:VALIDATION ## Sources ## On Modified Event `` Initiates a flow when an event is modified. The following table shows the required permissions for this source:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read, Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.Read, Calendars.ReadWrite

Application

Calendars.Read, Calendars.ReadWrite

If the **Since** parameter is left empty, the following permissions are also required:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

MailboxSettings.Read, MailboxSettings.ReadWrite

Delegated (personal Microsoft account)

MailboxSettings.Read, MailboxSettings.ReadWrite

Application

MailboxSettings.Read, MailboxSettings.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

User ID or user principal name that performs the action.

x

Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

The format of the body and uniqueBody properties to return.

HTML

Since

String

Date in the yyyy-MM-dd’T’HH:mm:ss’Z' format, for example, 2014-01-01T00:00:00Z. If this field is empty, the operation retrieves the selected objects from the time the Mule app starts.

Filter

String

OData expression used to filter the events.

Read Timeout

Number

Specifies the amount of time in milliseconds that the consumer waits for a response before it times out.

60

Read Timeout Time unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Read Timeout field.

SECONDS

Outlook Time Zone

String

Time zone for the start and end times in the response.

Calendar Id

String

ID of the calendar that contains the event.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Primary Node Only

Boolean

Determines whether to execute this source on only the primary node when running Mule instances in a cluster.

Scheduling Strategy

scheduling-strategy

Configures the scheduler that triggers the polling.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Redelivery Policy

Defines a policy for processing the redelivery of the same message.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

### For Configurations - [Outlook365 Config](#Outlook365Config) ## On New Email `` Initiates a flow when a new email is received. While using the **On New Email** source, Microsoft Outlook 365 Connector handles the watermark value internally by updating the latest email’s `receivedDateTime` to prevent reprocessing of the same emails. To reprocess older emails, redeploy the application to delete the watermark value stored in the object store. Depending on your use case, deleting the watermark value must be done with caution as this might reprocess the emails more than once. The following table shows the required permissions for this source:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Mail.ReadBasic, Mail.Read, Mail.ReadWrite

Delegated (personal Microsoft account)

Mail.ReadBasic, Mail.Read, Mail.ReadWrite

Application

Mail.ReadBasic.All, Mail.Read, Mail.ReadWrite

If the **Since** parameter is left empty, the following permissions are also required:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

MailboxSettings.Read, MailboxSettings.ReadWrite

Delegated (personal Microsoft account)

MailboxSettings.Read, MailboxSettings.ReadWrite

Application

MailboxSettings.Read, MailboxSettings.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

User ID or user principal name that performs the action.

x

Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

The format of the body and uniqueBody properties to return.

HTML

Since

String

Date in the yyyy-MM-dd’T’HH:mm:ss’Z' format, for example, 2014-01-01T00:00:00Z. If this field is empty, the operation retrieves the selected objects from the time the Mule app starts.

Filter

String

OData expression used to filter the events.

Read Timeout

Number

Specifies the amount of time in milliseconds that the consumer waits for a response before it times out.

60

Read Timeout Time unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Read Timeout field.

SECONDS

Mail Folder Id

String

ID of the mail folder from which to get the messages.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Primary Node Only

Boolean

Determines whether to execute this source on only the primary node when running Mule instances in a cluster.

Scheduling Strategy

scheduling-strategy

Configures the scheduler that triggers the polling.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Redelivery Policy

Defines a policy for processing the redelivery of the same message.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

### For Configurations - [Outlook365 Config](#Outlook365Config) ## On New Event `` Initiates a flow when a new event is detected. The following table shows the required permissions for this source:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

Calendars.Read, Calendars.ReadWrite

Delegated (personal Microsoft account)

Calendars.Read, Calendars.ReadWrite

Application

Calendars.Read, Calendars.ReadWrite

If the **Since** parameter is left empty, the following permissions are also required:
Permission TypePermissions (from least privileged to most privileged)

Delegated (work or school account)

MailboxSettings.Read, MailboxSettings.ReadWrite

Delegated (personal Microsoft account)

MailboxSettings.Read, MailboxSettings.ReadWrite

Application

MailboxSettings.Read, MailboxSettings.ReadWrite

### Parameters
NameTypeDescriptionDefault ValueRequired

Configuration

String

Name of the configuration to use.

x

User Id

String

User ID or user principal name that performs the action.

x

Body Content Type

Enumeration, one of:

  • TEXT

  • HTML

The format of the body and uniqueBody properties to return.

HTML

Since

String

Date in the yyyy-MM-dd’T’HH:mm:ss’Z' format, for example, 2014-01-01T00:00:00Z. If this field is empty, the operation retrieves the selected objects from the time the Mule app starts.

Filter

String

OData expression used to filter the events.

Read Timeout

Number

Specifies the amount of time in milliseconds that the consumer waits for a response before it times out.

60

Read Timeout Time unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Read Timeout field.

SECONDS

Outlook Time Zone

String

Time zone for the start and end times in the response.

Calendar Id

String

ID of the calendar that contains the event.

Config Ref

ConfigurationProvider

Name of the configuration used to execute this component.

x

Primary Node Only

Boolean

Determines whether to execute this source on only the primary node when running Mule instances in a cluster.

Scheduling Strategy

scheduling-strategy

Configures the scheduler that triggers the polling.

x

Streaming Strategy

Configures how Mule processes streams. Repeatable streams are the default behavior.

Redelivery Policy

Defines a policy for processing the redelivery of the same message.

Reconnection Strategy

Retry strategy in case of connectivity errors.

### Output

Type

Any

### For Configurations - [Outlook365 Config](#Outlook365Config) ## Types ### Proxy Configuration Configures the settings used to connect through a proxy.
FieldTypeDescriptionDefault ValueRequired

Host

String

Hostname or IP address of the proxy server.

x

Port

Number

Port of the proxy server.

x

Username

String

Username to authenticate against the proxy server.

Password

String

Password to authenticate against the proxy server.

### TLS Configures TLS to provide secure communications for the Mule app.
FieldTypeDescriptionDefault ValueRequired

Enabled Protocols

String

Comma-separated list of protocols enabled for this context.

Enabled Cipher Suites

String

Comma-separated list of cipher suites enabled for this context.

Trust Store

Configures the TLS truststore.

Key Store

Configures the TLS keystore.

Revocation Check

Configures a revocation checking mechanism.

### Truststore Configures the truststore for TLS.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the truststore. Mule resolves the path relative to the current classpath and file system, if possible.

Password

String

Password used to protect the truststore.

Type

String

Type of truststore.

Algorithm

String

Encryption algorithm that the truststore uses.

Insecure

Boolean

If true, Mule stops performing certificate validations. Setting this to true can make connections vulnerable to attacks.

### Keystore Configures the keystore for the TLS protocol. The keystore you generate contains a private key and a public certificate.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the keystore. Mule resolves the path relative to the current classpath and file system, if possible.

Type

String

Type of store used.

Alias

String

Alias of the key to use when the keystore contains multiple private keys. By default, Mule uses the first key in the file.

Key Password

String

Password used to protect the private key.

Password

String

Password used to protect the keystore.

Algorithm

String

Encryption algorithm that the keystore uses.

### Standard Revocation Check Configures standard revocation checks for TLS certificates.
FieldTypeDescriptionDefault ValueRequired

Only End Entities

Boolean

Which elements to verify in the certificate chain:

  • true

Verify only the last element in the certificate chain.

  • false

Verify all elements in the certificate chain.

Prefer Crls

Boolean

How to check certificate validity:

  • true

Check the Certification Revocation List (CRL) for certificate validity.

  • false

Use the Online Certificate Status Protocol (OCSP) to check certificate validity.

No Fallback

Boolean

Whether to use the secondary method to check certificate validity:

  • true

Use the method that wasn’t specified in the Prefer Crls field (the secondary method) to check certificate validity.

  • false

Do not use the secondary method to check certificate validity.

Soft Fail

Boolean

What to do if the revocation server can’t be reached or is busy:

  • true

Avoid verification failure.

  • false

Allow the verification to fail.

### Custom OCSP Responder Configures a custom OCSP responder for certification revocation checks.
FieldTypeDescriptionDefault ValueRequired

Url

String

URL of the OCSP responder.

Cert Alias

String

Alias of the signing certificate for the OCSP response. If specified, the alias must be in the truststore.

### CRL File Specifies the location of the certification revocation list (CRL) file.
FieldTypeDescriptionDefault ValueRequired

Path

String

Path to the CRL file.

### Reconnection Configures a reconnection strategy for an operation.
FieldTypeDescriptionDefault ValueRequired

Fails Deployment

Boolean

What to do if, when an app is deployed, a connectivity test does not pass after exhausting the associated reconnection strategy:

  • true

Allow the deployment to fail.

  • false

Ignore the results of the connectivity test.

Reconnection Strategy

Reconnection strategy to use.

### Reconnect Configures a standard reconnection strategy, which specifies how often to reconnect and how many reconnection attempts the connector source or operation can make.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy will run in a separate, non-blocking thread.

Count

Number

How many reconnection attempts the Mule app can make.

### Reconnect Forever Configures a forever reconnection strategy by which the connector source or operation attempts to reconnect at a specified frequency for as long as the Mule app runs.
FieldTypeDescriptionDefault ValueRequired

Frequency

Number

How often to attempt to reconnect, in milliseconds.

Blocking

Boolean

If false, the reconnection strategy will run in a separate, non-blocking thread.

### Expiration Policy
FieldTypeDescriptionDefault ValueRequired

Max Idle Time

Number

Configures the maximum amount of time that a dynamic configuration instance can remain idle before Mule considers it eligible for expiration.

Time Unit

Enumeration, one of:

  • NANOSECONDS

  • MICROSECONDS

  • MILLISECONDS

  • SECONDS

  • MINUTES

  • HOURS

  • DAYS

Time unit for the Max Idle Time field.

### Redelivery Policy Configures the redelivery policy for executing requests that generate errors. You can add a redelivery policy to any source in a flow.
FieldTypeDescriptionDefault ValueRequired

Max Redelivery Count

Number

Maximum number of times that a redelivered request can be processed unsuccessfully before returning a REDELIVERY_EXHAUSTED error.

Message Digest Algorithm

String

Secure hashing algorithm to use if the Use Secure Hash field is true. If the payload of the message is a Java object, Mule ignores this value and returns the value that the payload’s hashCode() returned.

Message Identifier

Defines which strategy is used to identify the messages.

Object Store

ObjectStore

Configures the object store that stores the redelivery counter for each message.

### Redelivery Policy Message Identifier Configures how to identify a redelivered message and how to find out when the message was redelivered.
FieldTypeDescriptionDefault ValueRequired

Use Secure Hash

Boolean

If true, Mule uses a secure hash algorithm to identify a redelivered message.

Id Expression

String

One or more expressions that determine when a message was redelivered. You can set this property only if the Use Secure Hash field is false.

### Repeatable In Memory Stream Configures the in-memory streaming strategy by which the request fails if the data exceeds the MAX buffer size. Always run performance tests to find the optimal buffer size for your specific use case.
FieldTypeDescriptionDefault ValueRequired

Initial Buffer Size

Number

Initial amount of memory to allocate to the data stream. If the streamed data exceeds this value, the buffer expands by Buffer Size Increment, with an upper limit of Max In Memory Size value.

Buffer Size Increment

Number

Amount by which the buffer size expands if it exceeds its initial size. Setting a value of 0 or lower specifies that the buffer can’t expand.

Max Buffer Size

Number

Maximum size of the buffer. If the buffer size exceeds this value, Mule raises a STREAM_MAXIMUM_SIZE_EXCEEDED error. A value of less than or equal to 0 means no limit.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the Initial Buffer Size, Buffer Size Increment, and Buffer Unit fields.

### Repeatable File Store Stream Configures the repeatable file-store streaming strategy by which Mule keeps a portion of the stream content in memory. If the stream content is larger than the configured buffer size, Mule backs up the buffer’s content to disk and then clears the memory.
FieldTypeDescriptionDefault ValueRequired

In Memory Size

Number

Maximum amount of memory that the stream can use for data. If the amount of memory exceeds this value, Mule buffers the content to disk. To optimize performance:

  • Configure a larger buffer size to avoid the number of times Mule needs to write the buffer on disk. This increases performance, but it also limits the number of concurrent requests your application can process, because it requires additional memory.

  • Configure a smaller buffer size to decrease memory load at the expense of response time.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the In Memory Size field.

### O Data Query Params
FieldTypeDescriptionDefault ValueRequired

Select

String

Count

Boolean

false

Expand

String

Filter

String

Format

String

Order By

String

Search

String

Skip

Number

Top

Number

### Repeatable In Memory Iterable
FieldTypeDescriptionDefault ValueRequired

Initial Buffer Size

Number

The number of instances to initially keep in memory to consume the stream and provide random access to it. If the stream contains more data than can fit into this buffer, then the buffer expands according to the Buffer Size Increment field, with an upper limit of maxInMemorySize.

100

Buffer Size Increment

Number

This is by how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.

100

Max Buffer Size

Number

The maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower than or equal to zero means no limit.

### Repeatable File Store Iterable
FieldTypeDescriptionDefault ValueRequired

In Memory Objects

Number

The maximum amount of instances to keep in memory. If more than that is required, content on the disk is buffered.

Buffer Unit

Enumeration, one of:

  • BYTE

  • KB

  • MB

  • GB

Unit for the In Memory Objects field.

## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: Microsoft Outlook 365 Connector version: 1.3 is-latest-version: true --- # Microsoft Outlook 365 Connector 1.3 XML and Maven Support > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Although you can manually code a Mule app in XML, it is more efficient to use Anypoint Studio: - If you manually code a Mule runtime engine (Mule) app in XML, either from the Anypoint Studio XML editor or from a text editor, you can access the connector from your app by adding reference statements to both your XML Mule flow and the Apache Maven `pom.xml` file. - If you add the connector in Studio, Studio automatically populates the XML code with the connector’s namespace and schema location and it also adds a dependency to the `pom.xml` file. ## Add a Namespace for the Connector Paste the following code inside the `` tag of the header of your configuration XML: ```xml http://www.mulesoft.org/schema/mule/outlook-365 http://www.mulesoft.org/schema/mule/outlook-365/current/mule-outlook-365.xsd ``` This example shows how the namespace statements are placed in the XML block: ```xml ``` ## Add a POM File Dependency The Apache Maven `pom.xml` file generated by Anypoint Studio contains dependencies for a Mule app. When you code a Mule app manually, include this XML snippet in your `pom.xml` file to enable access to this connector: ```xml com.mulesoft.connectors mule4-outlook365-connector x.x.x mule-plugin ``` Replace `x.x.x` with the version that corresponds to the connector you are using. To obtain the most up-to-date `pom.xml` file information: 1. Go to [Anypoint Exchange](https://www.mulesoft.com/exchange/). 2. In Exchange, click **Login** and supply your Anypoint Platform username and password. 3. In Exchange, search for `outlook365`. 4. Select the connector. 5. Click **Dependency Snippets** near the upper right of the screen. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Salesforce Help](https://help.salesforce.com) --- product: Microsoft Outlook 365 Connector version: 1.3 is-latest-version: true --- # Using Anypoint Studio to Configure Microsoft Outlook 365 Connector 1.3 > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Studio (Studio) editors help you design and update your Mule applications, properties, and configuration files. To add and configure a connector in Studio: 1. [Create a Mule project](#create-mule-project). 2. [Add the connector to your Mule project](#add-connector-to-project). 3. [Configure a source for the connector’s flow](#configure-input-source). 4. [Add a connector operation to the flow](#add-connector-operation). 5. [Configure a global element for the connector](#configure-global-element). 6. [Configure the other connector fields](#configure-other-fields). When you run the connector, you can view the app log to check for problems in real time, as described in [View the App Log](#view-app-log). If you are new to configuring connectors in Studio, see [Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio). If, after reading this topic, you need additional information about the connector fields, refer to the [Microsoft Outlook 365 Connector Reference](https://docs.mulesoft.com/microsoft-outlook-365-connector/latest/microsoft-outlook-365-connector-reference). ## Create a Mule Project In Studio, create a new Mule project in which to add and configure the connector: 1. In Studio, select **File > New > Mule Project**. 2. Enter a name for your Mule project and click **Finish**. ## Add the Connector to Your Mule Project Add Anypoint Connector for Microsoft Outlook 365 (Outlook 365 Connector) to your Mule project to automatically populate the XML code with the connector’s namespace and schema location and add the required dependencies to the project’s `pom.xml` file: 1. In the **Mule Palette** view, click **(X) Search in Exchange**. 2. In the **Add Dependencies to Project** window, type `outlook365` in the search field. 3. Click **Outlook365 Connector** in **Available modules**. 4. Click **Add**. 5. Click **Finish**. Adding a connector to a Mule project in Studio does not make that connector available to other projects in your Studio workspace. ## Configure a Source A source initiates a flow when a specified condition is met. You can configure one of these sources to use with Outlook 365 Connector: - HTTP Listener Initiates a flow each time it receives a request on the configured host and port - Scheduler Initiates a flow when a time-based condition is met For example, to configure an HTTP Listener source, follow these steps: 1. In the **Mule Palette** view, select **HTTP > Listener**. 2. Drag **Listener** to the Studio canvas. 3. On the **Listener** configuration screen, optionally change the value of the **Display Name** field. 4. Specify a value for the **Path** field. 5. Click the plus sign (**+**) next to the **Connector configuration** field to configure a global element that can be used by all instances of the HTTP Listener source in the app. 6. On the **General** tab, specify the connection information for the connector. 7. On the **TLS** tab, optionally specify the TLS information for the connector. 8. On the **Advanced** tab, optionally specify reconnection information, including a reconnection strategy. 9. Click **Test Connection** to confirm that Mule can connect with the specified server. 10. Click **OK**. ## Add a Connector Operation to the Flow When you add a connector operation to your flow, you are specifying an action for that connector to perform. To add an operation for Outlook 365 Connector, follow these steps: 1. In the **Mule Palette** view, select **Outlook365** and then select the desired operation. 2. Drag the operation onto the Studio canvas to the right of the source. ## Configure a Global Element for the Connector When you configure a connector, configure a global element that all instances of that connector in the app can use. Configuring a global element requires you to provide the authentication credentials that the connector requires to access the target Outlook 365 system. Outlook 365 Connector supports OAuth 2.0 authorization code grant and OAuth 2.0 client credentials grant. To configure the global element for Outlook 365 Connector, follow these steps: 1. Select the operation in the Studio canvas. 2. In the configuration screen for the operation, click the plus sign (**+**) next to the **Connector configuration** field to access the global element configuration fields. 3. On the **General** tab, in **Connection**, select the authentication method to configure: - [OAuth 2.0 Authorization Code Grant Authentication](#oauth2-authorization) - [OAuth 2.0 Client Credentials Grant Authentication](#oauth2-client) You can reference a configuration file that contains ANT-style property placeholders (recommended), or you can enter your authorization credentials in the global configuration properties. For information about the benefits of using property placeholders and how to configure them, refer to [Anypoint Connector Configuration](https://docs.mulesoft.com/connectors/introduction/intro-connector-configuration-overview). 4. On the **Advanced** tab, optionally specify reconnection information, including a reconnection strategy. 5. Click **Test Connection** to confirm that Mule can connect with the specified server. 6. Click **OK**. ### OAuth 2.0 Authorization Code Grant Authentication Use OAuth 2.0 to delegate user authentication to the service hosting the user account. For more information, refer to [Configuring OAuth 2.0 for Connectors](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2), [Configuring OAuth 2.0 for Connectors on CloudHub](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2-cloudhub), or [OAuth Support in the SDK](https://docs.mulesoft.com/mule-sdk/latest/oauth). Enter the following information on the **General** tab of the **Global Element Properties** screen to configure OAuth 2.0 authorization code grant authentication:
FieldUser Action

Name

Enter the configuration name.

Connection

Select OAuth 2.0 Authorization Code.

Consumer Key

OAuth consumer key, as registered with the Microsoft identity platform.

Consumer Secret

OAuth consumer secret that corresponds to the consumer key.

Listener Config

A reference to an <http:listener-config /> used to create the listener that receives the access token callback endpoint.

Callback Path

Path of the access token callback endpoint.

Authorize Path

Path of the local HTTP endpoint that triggers the OAuth dance.

### OAuth 2.0 Client Credentials Grant Authentication Use OAuth 2.0 to delegate user authentication to the service hosting the user account. For more information, refer to [Configuring OAuth 2.0 for Connectors](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2), [Configuring OAuth 2.0 for Connectors on CloudHub](https://docs.mulesoft.com/connectors/introduction/intro-config-oauth2-cloudhub), or [OAuth Support in the SDK](https://docs.mulesoft.com/mule-sdk/latest/oauth). Enter the following information on the **General** tab of the **Global Element Properties** screen to configure OAuth 2.0 client credentials grant authentication:
FieldUser Action

Name

Enter the configuration name.

Connection

Select OAuth 2.0 Client Credentials.

Client Id

OAuth client ID, as registered with the service provider.

Client Secret

OAuth client, as registered with the service provider.

## Configure Additional Connector Fields After you configure a global element for Outlook 365 Connector, configure the other required fields for the connector. The required fields vary depending on which connector operation you use. ## View the App Log To check for problems, you can view the app log as follows: - If you’re running the app from Anypoint Platform, the app log output is visible in the Anypoint Studio console window. - If you’re running the app using Mule from the command line, the app log output is visible in your OS console. Unless the log file path is customized in the app’s log file (`log4j2.xml`), you can also view the app log in the default location `MULE_HOME/logs/.log`. ## See Also - [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors) - [Using Anypoint Studio to Configure a Connector](https://docs.mulesoft.com/connectors/introduction/intro-config-use-studio) - [Microsoft Outlook 365 Connector Reference](https://docs.mulesoft.com/microsoft-outlook-365-connector/latest/microsoft-outlook-365-connector-reference) - [Salesforce Help](https://help.salesforce.com)