|
1 | 1 | --- |
2 | 2 | title: Something went wrong during sign-in when accessing Dynamics 365 App for Outlook |
3 | | -description: Provides a solution to an error that occurs when you access the Microsoft Dynamics 365 App for Outlook. |
| 3 | +description: Solves the error that occurs when you sign in to Microsoft Dynamics 365 App for Outlook. |
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 | | -# Something went wrong during sign-in error message displays when you access the Microsoft Dynamics 365 App for Outlook |
10 | | - |
11 | | -This article provides a solution to an error that occurs when you access the Microsoft Dynamics 365 App for Outlook. |
| 8 | +# "Something went wrong during sign-in" error when you access Dynamics 365 App for Outlook |
12 | 9 |
|
13 | 10 | _Applies to:_ Dynamics 365 App for Outlook |
14 | | -_Original KB number:_ 3064194 |
| 11 | +_Original KB number:_ 3064194, 4035750 |
| 12 | + |
| 13 | +This article provides solutions to the following sign-in errors that might occur when you access [Microsoft Dynamics 365 App for Outlook](/dynamics365/outlook-app/overview). |
| 14 | + |
| 15 | +- [Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator.](#error-1) |
| 16 | +- [Something went wrong during sign-in. Please try adding the following URLs to your Trusted Sites:](#error-2) |
15 | 17 |
|
16 | | -## Symptoms |
| 18 | +## Error 1 |
17 | 19 |
|
18 | | -When you select the Dynamics 365 app in Outlook (anywhere the app is supported), you see the following message: |
| 20 | +When you try to open the Dynamics 365 App for Outlook while using Outlook on the desktop, web, or mobile, you might receive the following error message: |
19 | 21 |
|
20 | 22 | > Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator. |
21 | 23 |
|
22 | | -## Cause |
| 24 | +### Cause 1 |
| 25 | + |
| 26 | +The Dynamics 365 App for Outlook can't connect to the authorization service to ensure that you're authorized to use this app. |
| 27 | + |
| 28 | +#### Resolution |
| 29 | + |
| 30 | +To solve this issue, first you can try to close and reopen the app. If the issue persists, try closing and reopening your internet browser. If the problem continues, try the following options to ensure the URLs used by Dynamics 365 and your authentication URLs use the same integrity level. |
| 31 | + |
| 32 | +##### Option 1 - Add each of the Dynamics 365 URLs and your authentication URLs to the same security zone in Internet Explorer |
| 33 | + |
| 34 | +1. In Internet Explorer, select **Tools** > **Internet Options**. |
| 35 | +2. Select the **Security** tab, select the **Trusted Sites** zone, and then select **Sites**. |
| 36 | +3. In **Add this website to the zone**, type the following URLs one at a time: |
| 37 | + |
| 38 | + `*.dynamics.com` |
| 39 | + `*.microsoftonline.com` |
| 40 | + `https://login.windows.net` |
| 41 | + |
| 42 | + > [!IMPORTANT] |
| 43 | + > If you use federated authentication to access Dynamics 365 using your corporate credentials, you also need to add the authentication URLs used by your company. For example, If your company uses [Active Directory Federation Services (AD FS)](/windows-server/identity/ad-fs/ad-fs-overview) with an authentication URL of `https://adfs.contoso.com/...`, add this URL to the same zone or make sure both zones have the same Protected Mode setting. |
23 | 44 |
|
24 | | -Cause 1 |
| 45 | +4. Select **Add**, and then select **OK** to save the sites. |
25 | 46 |
|
26 | | -Microsoft Dynamics 365 App for Outlook was unable to connect to the authorization service to ensure that you're authorized to use this app. |
| 47 | +##### Option 2 - Enable Protected Mode on each Internet Explorer security zone |
27 | 48 |
|
28 | | -Cause 2 |
| 49 | +By enabling Protected Mode on each Internet Explorer security zone, each URL loads in the same integrity level. |
29 | 50 |
|
30 | | -This issue can occur if your Dynamics 365 (online) URL was changed after the Dynamics 365 App for Outlook was installed. For example: If your Dynamics 365 URL was <`https://contosocorp.crm.dynamics.com`> when you deployed the app but you changed the URL to <`https://contoso.crm.dynamics.com`> later. |
| 51 | +1. In Internet Explorer, select **Tools** > **Internet Options**. |
| 52 | +2. Select the **Security** tab. |
| 53 | +3. Select each of the zones (**Internet**, **Local Intranet**, and **Trusted sites**). |
| 54 | +4. While selecting each zone, verify the **Enable Protected Mode** checkbox is selected. |
| 55 | +5. Select **OK** to close the **Internet Options** dialog box. |
31 | 56 |
|
32 | | -## Resolution |
| 57 | +> [!NOTE] |
| 58 | +> When Protected Mode is enabled for a security zone, the URLs load in the low integrity level (most secure). When Protected Mode is disabled for a security zone, the URLs load in the medium integrity level. If a URL isn't added to the **Trusted Sites** or **Local Intranet** zones, it defaults to loading in the Internet zone, which has Protected Mode enabled by default. |
33 | 59 |
|
34 | | -Resolution 1 |
| 60 | +### Cause 2 |
35 | 61 |
|
36 | | -Close the app, and open it again. If the problem still exists, try closing your internet browser and reopening it again. If the problem continues, try the solution from ["Something went wrong during sign-in" error using Dynamics 365 App for Outlook](https://support.microsoft.com/help/4035750). |
| 62 | +This issue can occur if your Dynamics 365 (online) URL is changed after the Dynamics 365 App for Outlook is installed. For example, if your Dynamics 365 URL is `https://contosocorp.crm.dynamics.com` when you deploy the app, but you change the URL to `https://contoso.crm.dynamics.com` later. |
37 | 63 |
|
38 | | -Resolution 2 |
| 64 | +You can verify if this is the cause of the issue by right-clicking the **Help me resolve this issue** link in the error message and checking the URL. If the URL is the old URL instead of your current Dynamics 365 URL, that could be the reason for the error. |
39 | 65 |
|
40 | | -If you changed your Dynamics 365 (online) URL after Microsoft Dynamics 365 App for Outlook was installed, you need to redeploy the app: |
| 66 | +#### Resolution |
| 67 | + |
| 68 | +If you change your Dynamics 365 (online) URL after the Dynamics 365 App for Outlook is installed, you need to redeploy the app: |
| 69 | + |
| 70 | +1. A user with the System Administrator role can redeploy the app to users by opening the Dynamics 365 web application and navigating to the **Dynamics 365 App for Outlook** area within **Settings**. |
41 | 71 |
|
42 | | -1. A user with the System Administrator role can redeploy the app to users by opening the Dynamics 365 web application, and then navigating to the Dynamics 365 App for Outlook area within Settings. |
43 | 72 | 1. Select the users who should have the app redeployed and use one of the **Add App** buttons to redeploy the app. |
44 | | -1. After the Status changes to **Added to Outlook**, you can verify if the issue has been resolved. If you already had the app open, close and reopen it. |
45 | 73 |
|
46 | | -## More information |
| 74 | +1. After the **Status** changes to **Added to Outlook**, you can verify if the issue is resolved. If you already have the app open, close and reopen it. |
| 75 | + |
| 76 | +## Error 2 |
| 77 | + |
| 78 | +When you try to open the Dynamics 365 App for Outlook while using Outlook on the desktop, you might receive the following error message: |
| 79 | + |
| 80 | +> Having trouble signing in? |
| 81 | +> Something went wrong during sign-in. Please try adding the following URLs to your Trusted Sites: |
| 82 | +> `https://*.dynamics.com` |
| 83 | +> `https://login.microsoftonline.com` |
| 84 | +> If the problem persists, contact your system administrator. |
| 85 | +
|
| 86 | +### Cause |
| 87 | + |
| 88 | +Some of the URLs required to use the Dynamics 365 App for Outlook are in different [Internet Explorer security zones](/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms537183(v=vs.85)) (for example, Local Intranet Zone, Trusted Sites Zone, or Internet Zone). |
| 89 | + |
| 90 | +When using Dynamics 365 App for Outlook within Outlook on the desktop, Internet Explorer is used to display the content and also redirect you to authenticate as needed. The different security zones might use different integrity levels, depending on whether Protected Mode is enabled for the zone. If the different URLs load with different integrity levels, it prevents authentication from being passed successfully from your authentication URLs to Dynamics 365. |
| 91 | + |
| 92 | +### Resolution |
| 93 | + |
| 94 | +To solve this issue, use one of the following options to ensure the URLs used by Dynamics 365 and your authentication URLs use the same integrity level: |
47 | 95 |
|
48 | | -You can verify if this issue is the result of Cause 2 by right-clicking on the **Help me resolve this issue** link in the error message and copying the URL. If you view the URL parameters, it contains the old Dynamics 365 URL. In the example provided earlier, it would show the old URL (`contosocorp.crm.dynamics.com`) instead of your current Dynamics 365 URL (`contoso.crm.dynamics.com`). |
| 96 | +- [Option 1 - Add each of the Dynamics 365 URLs and your authentication URLs to the same security zone in Internet Explorer](#option-1---add-each-of-the-dynamics-365-urls-and-your-authentication-urls-to-the-same-security-zone-in-internet-explorer) |
| 97 | +- [Option 2 - Enable Protected Mode on each Internet Explorer security zone](#option-2---enable-protected-mode-on-each-internet-explorer-security-zone) |
0 commit comments