Loading

Microsoft Exchange Server Configuration for the Salesforce Outlook Integration Add-In

Fecha de publicación: Jul 21, 2026
Descripción

This article explains how a Microsoft Exchange administrator should configure the Exchange mail server to work with the Salesforce Outlook Integration add-in . It addresses the requirements that Microsoft documents for Office Add-Ins, including how to troubleshoot 500 Internal Server Error responses.
The Salesforce Outlook Integration is an Office Add-In that allows Salesforce users to view and manage Salesforce records directly from Microsoft Outlook. For the add-in to function correctly, the Exchange server must meet specific configuration requirements.https://learn.microsoft.com/en-us/office/dev/add-ins/concepts/requirements-for-running-office-add-ins

To assess the connectivity of your Exchange server and confirm it is properly configured to communicate with the Salesforce Outlook Integration add-in, use the Outlook Integration Debug Tool.

https://help.salesforce.com/s/articleView?id=000383172&type=1.

 

 

 

Solución

 

Three Exchange Server Requirements for the Salesforce Outlook Integration

Microsoft documents three main requirements on the Exchange server side that affect whether the Salesforce Outlook Integration add-in connects successfully.

Requirement 1: Exchange Web Services (EWS) Calls from Salesforce

 

The Exchange server must accept incoming Exchange Web Services (EWS) calls from Salesforce IPs. An Exchange metadata endpoint that allows unauthenticated HTTP access must be available and AutoDiscovery may possibly have to be set up, but not always depending on how the Exchange server is set up at your company. Read this Microsoft article for more details: Configure Exchange Services for the Autodiscover Service. Enabling an EWS end point is a common practice, including with Exchange on-premises servers. Contact your Microsoft Support team if you'd like to review considerations with that setting. The optional configuration includes allowlisting incoming EWS calls on that Exchange server to originate from Salesforce's IP addresses and domains, which are documented there: Salesforce IP Addresses and Domains to Allow This is not a required configuration step. Another optional configuration is to validate incoming EWS calls by checking they contain a valid JSON Web Token (JWT). Details about JWT are available at: Inside the Exchange identity token. This is not a required configuration step either and really depends on your internal company policies around the Exchange server management.

Requirement 2: Exchange Server Access to the Microsoft Office Store

The Exchange server must be able to reach the Office Store that is to authorize pings to and from 'Business Apps' on the Microsoft AppSource site. Log a ticket with Microsoft for more details about that Exchange configuration. While Outlook end users do not necessarily need access to the Store and do not have to add the Salesforce add-in to their Outlook themselves, the Exchange admin can provide the experience on their behalf. Find details about deployment options at Access the Outlook Integration. 

 

Requirement 3: JWT Generation with the Correct MetaData URL

The Exchange server is configured to generate JWTs properly so they indicate the URL that Salesforce uses to connect with the Exchange server. That URL may be the same as the AutoDiscover URL and is referred to as the MetaData URL in the JWT. Make sure all outputs of the Debug Tool are green and valid, including EWS call tests.


When EWS calls using the Debug Tool are still generating 500 internal server error responses, a common check to conduct is to review certificates on the Exchange server and ensure their validity. To confirm which certificates are included, you may refer to Outbound Messaging SSL CA Certificates.

For all Exchange configuration questions, please have the Exchange admin team initiate a ticket with Microsoft Support. Salesforce is able to assist if Microsoft requires input to resolve the ticket, but cannot engage with Microsoft on behalf of a customer unless there is a ticket logged with them.

Número del artículo de conocimiento

000383974

 
Cargando
Salesforce Help | Article