Configure a secure connection between Microsoft Outlook and Salesforce using MuleSoft Flow Connectors via OAuth2 Client Credentials, enabling Salesforce to interact with Microsoft services such as Mail and Calendar through the Microsoft Graph API.
Complete the connection form with the following values:
| Field | Value |
| Connection Name | Enter a descriptive name (e.g., Outlook-Prod-Connection) |
| Authentication Protocol | OAuth2ClientCredentials |
| Client ID | Provided by your Microsoft Admin (from Azure App Registration) |
| Client Secret | Provided by your Microsoft Admin (from Azure App Registration) |
| Scope | https://graph.microsoft.com/.default (default) or a custom scope |
| URL | https://graph.microsoft.com/v1.0 |
| Token URL | https://login.microsoftonline.com/{tenant-Id}/oauth2/v2.0/token |
Important: Replace {tenant-Id} in the Token URL with your actual Microsoft Tenant ID. This is available in your Azure Active Directory settings or get it from your Microsoft Admin.
Once the Connection is Successful you can use the Out of the Box Actions from the connectors in the Flows. Below is the screenshot of a flow which uses Outlook Connector which we created to create Cases whenever a new Email is received in your Outlook Inbox
{UserId} field shown in the screenshots, you can provide either:user@domain.com) associated with your Microsoft account.005387419

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.