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.
Microsoft documents three main requirements on the Exchange server side that affect whether the Salesforce Outlook Integration add-in connects successfully.
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.
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.
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.
Additional information and resources:
Salesforce Email Integration Security Guide
Set Up Your Microsoft Exchange Server for the Outlook Integration
000383974

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.