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
Symptoms
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
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.
Note
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:
"Error: QuotaExceededError"
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.
Resolution
Resolution 1:
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.
Resolution 2:
- Open a command prompt.
- Run the following command:
icacls %userprofile%\Appdata\LocalLow /t /setintegritylevel (OI)(CI)L
Resolution 3:
Clear your browser cache.
Platform | Instructions |
---|---|
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 |
Important
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
%WindowsFolder%\System32\F12
(example:C:\Windows\System32\F12
) - 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.
Resolution 4:
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.
Note
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.