Office 365 caches information related to your organization and your Salesforce My Domain name. When this information changes in Salesforce, problems can occur when using the Salesforce Outlook Integration add-in. The error "Please wait while the app loads, or close the app and open it again" typically appears after a My Domain change or org migration.
To resolve this issue, you need to clear the Office 365 cache.
The Salesforce Outlook Integration stores your organization URL and organization ID in Office 365 roaming settings. When these values become outdated (for example, after a My Domain change), the add-in cannot connect to Salesforce. Clearing these cached values forces the add-in to re-fetch the current Salesforce organization settings on next load.
Step 1: Open the Salesforce Outlook Integration in your Chrome browser. Press F12 to open Developer Tools, or go to the Chrome menu and select More Tools > Developer Tools. Click the Console tab. (Shortcut: Shift + Control + I)
Step 2: In the top-left corner of the Console window, there is a dropdown list that shows the word top. Click this dropdown and select the frame labeled baseFrameName....mailapp.force.com if you are using Office 365. If you are using an on-premise Exchange server, look for a frame ending in mailapp.force.com. Once selected, the Outlook Integration panel highlights to confirm you chose the correct frame.
Step 3: At the very bottom of the Console window, locate the input area indicated by a cursor symbol (>). This is the command line where you will enter the commands.
Step 4: Enter the following three commands one at a time, pressing Enter after each one:
Office.context.roamingSettings.set('orgUrl', '');
Office.context.roamingSettings.set('orgId', '');
Office.context.roamingSettings.saveAsync();
Step 5: You can disregard any 'undefined' errors that appear after each command. These are expected and do not indicate a problem.
Step 6: If needed, you can enter the commands on the command line one at a time, pressing Enter after each line. Continue to disregard any 'undefined' errors.
000382635

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.