|
1 | 1 | --- |
2 | | -title: The authentication wasn't successful |
3 | | -description: Provides a solution to an error that occurs when you try to use the Dynamics 365 App for Outlook on Outlook desktop. |
| 2 | +title: The authentication wasn't successful error |
| 3 | +description: Solves the authentication error that occurs when you try to use the Dynamics 365 App for Outlook in the Outlook desktop client. |
4 | 4 | ms.reviewer: |
5 | | -ms.topic: troubleshooting |
6 | | -ms.date: 03/31/2021 |
| 5 | +ms.date: 03/14/2025 |
7 | 6 | ms.custom: sap:Dynamics 365 App for Outlook Add-In |
8 | 7 | --- |
9 | | -# Sorry, the authentication was not successful error occurs in Microsoft Dynamics 365 App for Outlook |
| 8 | +# "Sorry, the authentication was not successful" error occurs in Dynamics 365 App for Outlook |
10 | 9 |
|
11 | | -This article provides a solution to an error that occurs when you try to use the Dynamics 365 App for Outlook on Outlook desktop. |
| 10 | +This article outlines several potential causes of the authentication error that occurs when you use the Dynamics 365 App for Outlook in the Outlook desktop client, and provides corresponding resolutions. |
12 | 11 |
|
13 | 12 | _Applies to:_ Dynamics 365 App for Outlook |
14 | 13 | _Original KB number:_ 4483111 |
15 | 14 |
|
16 | 15 | ## Symptoms |
17 | 16 |
|
18 | | -When attempting to use the Dynamics 365 App for Outlook on Outlook desktop, you see the following error: |
| 17 | +When you try to use the [Dynamics 365 App for Outlook](/dynamics365/outlook-app/overview) in the Outlook desktop client, you receive the following error message: |
19 | 18 |
|
20 | | -> "Sorry, the authentication was not successful. We can help you fix the problem." |
| 19 | +> Sorry, the authentication was not successful. We can help you fix the problem. |
21 | 20 |
|
22 | | -## Cause |
23 | | - |
24 | | -**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. |
| 21 | +## Cause 1 - Not all the URLs used to authenticate and access Dynamics 365 are in the same Internet Explorer security zone |
25 | 22 |
|
26 | 23 | > [!NOTE] |
27 | | -> If you're using Dynamics 365 (online) with an Exchange Online mailbox, it's not likely the cause of the issue. |
| 24 | +> If you're using Dynamics 365 (online) with an Exchange Online mailbox, this is unlikely to be the cause of the issue. |
| 25 | +
|
| 26 | +### Resolution |
| 27 | + |
| 28 | +To solve this issue, follow the steps introduced in ["Something went wrong during sign-in" error using Dynamics 365 App for Outlook](something-went-wrong-during-sign-in.md) to verify that all necessary URLs are in the same Internet Explorer security zone. |
| 29 | + |
| 30 | +## Cause 2 - The LocalLow folder has an incorrect integrity level |
| 31 | + |
| 32 | +The integrity level for the **LocalLow** folder should be set to low, as indicated by the folder name. |
28 | 33 |
|
29 | | -**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. |
| 34 | +### Resolution |
30 | 35 |
|
31 | | -**Cause 3:** If you select the option to show more and you see: |
32 | | -> "Error: QuotaExceededError" |
| 36 | +To solve this issue, run the following command in a command prompt: |
33 | 37 |
|
34 | | -Which indicates your local browser storage limit has been met. |
| 38 | +`icacls %userprofile%\Appdata\LocalLow /t /setintegritylevel (OI)(CI)L` |
35 | 39 |
|
36 | | -**Cause 4:** If you're accessing Outlook Web Access, it can occur if third-party cookies are blocked in your browser settings. |
| 40 | +## Cause 3 - QuotaExceededError |
37 | 41 |
|
38 | | -## Resolution |
| 42 | +When you select the option to show more, you see the following error: |
39 | 43 |
|
40 | | -**Resolution 1:** |
41 | | -Use the steps in ["Something went wrong during sign-in" error using Dynamics 365 App for Outlook](https://support.microsoft.com/help/4035750) to verify each of the necessary URLs are in the same Internet Explorer security zone. |
| 44 | +> Error: QuotaExceededError |
42 | 45 |
|
43 | | -**Resolution 2:** |
| 46 | +The error indicates that your local browser storage is exceeded. |
44 | 47 |
|
45 | | -1. Open a command prompt. |
46 | | -2. Run the following command: |
47 | | - `icacls %userprofile%\Appdata\LocalLow /t /setintegritylevel (OI)(CI)L` |
| 48 | +### Resolution |
48 | 49 |
|
49 | | -**Resolution 3:** |
50 | | -Clear your browser cache. |
| 50 | +To solve this issue, clear your browser cache. |
51 | 51 |
|
52 | | -| **Platform**| **Instructions** | |
| 52 | +| Platform| Instructions | |
53 | 53 | |---|---| |
54 | | -| Outlook (same as Internet Explorer)| [View and delete your browsing history in Internet Explorer](https://support.microsoft.com/topic/view-and-delete-your-browsing-history-in-internet-explorer-098ffe52-5ac9-a449-c296-c735c32c8678) | |
55 | | -| Internet Explorer| [View and delete your browsing history in Internet Explorer](https://support.microsoft.com/topic/view-and-delete-your-browsing-history-in-internet-explorer-098ffe52-5ac9-a449-c296-c735c32c8678) | |
56 | | -| Edge| [View and delete browser history in Microsoft Edge](https://support.microsoft.com/microsoft-edge/view-and-delete-browser-history-in-microsoft-edge-00cf7943-a9e1-975a-a33d-ac10ce454ca4) | |
57 | | -| Chrome| [Clear cache & cookies](https://support.google.com/accounts/answer/32050) | |
| 54 | +| Internet Explorer or Outlook| [View and delete your browsing history in Internet Explorer](https://support.microsoft.com/topic/view-and-delete-your-browsing-history-in-internet-explorer-098ffe52-5ac9-a449-c296-c735c32c8678) | |
| 55 | +| Microsoft Edge| [View and delete browser history in Microsoft Edge](https://support.microsoft.com/microsoft-edge/view-and-delete-browser-history-in-microsoft-edge-00cf7943-a9e1-975a-a33d-ac10ce454ca4) | |
| 56 | +| Google Chrome| [Clear cache & cookies in Google Chrome](https://support.google.com/accounts/answer/32050) | |
58 | 57 |
|
59 | 58 | > [!IMPORTANT] |
60 | | -> 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. |
| 59 | +> Although you might have other browsers installed on your computer, the Outlook desktop always uses Internet Explorer when displaying web content, such as inside the Dynamics 365 App for Outlook. |
61 | 60 |
|
62 | | -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. |
| 61 | +After clearing your browser cache, close all Internet Explorer and Outlook desktop windows, and ensure there are no remaining Internet Explorer processes running by checking Task Manager. |
63 | 62 |
|
64 | | -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): |
| 63 | +If this issue only exists in the Outlook desktop client and clearing the cache via Internet Options doesn't help, try clearing it via the F12 IEChooser (not applicable for Windows 7): |
65 | 64 |
|
66 | | -1. Open Dynamics app in Outlook desktop. |
67 | | -2. Open **IEChooser.exe** in `%WindowsFolder%\System32\F12` (example: `C:\Windows\System32\F12`) |
68 | | -3. Select **Dynamics 365** |
| 65 | +1. Open the Dynamics 365 App for Outlook in the Outlook desktop client. |
| 66 | +2. Open the **IEChooser.exe** located in `%WindowsFolder%\System32\F12` (for example, `C:\Windows\System32\F12`). |
| 67 | +3. In the **Choose target to debug** window, select **Dynamics 365**. |
69 | 68 | 4. Select the **Network** tab and then select the **Clear cache** button. |
70 | 69 |
|
71 | | -After following the steps above, reopen Outlook and the Dynamics 365 App for Outlook to see if the issue is resolved. |
| 70 | +After completing these steps, reopen Outlook and the Dynamics 365 App for Outlook to see if the issue is resolved. |
| 71 | + |
| 72 | +#### More information |
| 73 | + |
| 74 | +[Debug a task pane add-in using the F12 tools](/office/dev/add-ins/testing/debug-add-ins-using-f12-tools-ie#debug-a-task-pane-add-in-using-the-f12-tools) |
| 75 | + |
| 76 | +## Cause 4 - Third-party cookies are blocked in your browser settings |
| 77 | + |
| 78 | +### Resolution |
72 | 79 |
|
73 | | -**Resolution 4:** |
74 | | -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. |
| 80 | +If the issue occurs in Outlook Web Access, open the browser settings to verify that a setting isn't enabled to block third-party cookies. |
75 | 81 |
|
76 | 82 | > [!NOTE] |
77 | | -> Some browsers allow you to block 3rd party cookies but add specific URLs to a list of allowed sites. |
| 83 | +> Some browsers allow you to block third-party cookies but add specific URLs to a list of allowed sites. |
78 | 84 |
|
79 | 85 | [!INCLUDE [Third-party disclaimer](../../../includes/third-party-disclaimer.md)] |
0 commit comments