Sorry, the authentication was not successful error occurs in Microsoft Dynamics 365 App for Outlook
This article provides a solution to an error that occurs when you try to use the Dynamics 365 App for Outlook on Outlook desktop.
Applies to: Microsoft Dynamics 365
Original KB number: 4483111
When attempting to use the Dynamics 365 App for Outlook on Outlook desktop, you see the following error:
"Sorry, the authentication was not successful. We can help you fix the problem."
Cause 1: It can occur if not all of the URLs used to authenticate and access Dynamics 365 are in the same Internet Explorer security zone.
If you're using Dynamics 365 (online) with an Exchange Online mailbox, it's not likely the cause of the issue.
Cause 2: It can occur if the LocalLow folder has an incorrect integrity level. The correct setting is to have the integrity level set to low as the folder name indicates.
Cause 3: If you select the option to show more and you see:
Which indicates your local browser storage limit has been met.
Cause 4: If you're accessing Outlook Web Access, it can occur if third-party cookies are blocked in your browser settings.
Use the steps in "Something went wrong during sign-in" error using Dynamics 365 App for Outlook to verify each of the necessary URLs are in the same Internet Explorer security zone.
- Open a command prompt.
- Run the following command:
icacls %userprofile%\Appdata\LocalLow /t /setintegritylevel (OI)(CI)L
Clear your browser cache.
|Outlook (same as Internet Explorer)||View and delete your browsing history in Internet Explorer|
|Internet Explorer||View and delete your browsing history in Internet Explorer|
|Edge||View and delete browser history in Microsoft Edge|
|Chrome||Clear cache & cookies|
Although you may have other browsers installed on your computer, Outlook desktop always uses Internet Explorer when displaying web content such as inside Dynamics 365 App for Outlook.
After clearing your browser cache, close all Internet Explorer and Outlook desktop windows, and make sure through Task Manager, there are no remaining Internet Explorer processes running.
If this issue only appears in Outlook desktop and clearing the cache via Internet Options doesn't help, try clearing it via F12 chooser (not applicable for Windows 7):
- Open Dynamics app in Outlook desktop.
- Open IEChooser.exe in
- Select Dynamics 365
- Select the Network tab and then select the Clear cache button.
After following the steps above, reopen Outlook and the Dynamics 365 App for Outlook to see if the issue is resolved.
If the issue occurs in Outlook Web Access, open the settings for your browser to verify a setting isn't enabled to block third-party cookies.
Some browsers allow you to block 3rd party cookies but add specific URLs to a list of allowed sites.
Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.