|
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 | 5 | ms.date: 03/04/2025 |
6 | 6 | ms.custom: sap:Dynamics 365 App for Outlook Add-In |
7 | 7 | --- |
8 | 8 | # "Something went wrong during sign-in" error when you access Dynamics 365 App for Outlook |
9 | 9 |
|
10 | | -This article provides a solution to an error that occurs when you access the Microsoft Dynamics 365 App for Outlook. |
| 10 | +This article provides solutions to errors that occur when you access [Microsoft Dynamics 365 App for Outlook](/dynamics365/outlook-app/overview). |
11 | 11 |
|
12 | 12 | _Applies to:_ Dynamics 365 App for Outlook |
13 | 13 | _Original KB number:_ 3064194, 4035750 |
14 | 14 |
|
15 | | -## Symptoms |
| 15 | +## Error 1 |
16 | 16 |
|
17 | | -When you open the Dynamics 365 app in Outlook, you receive one of the following error messages: |
| 17 | +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: |
18 | 18 |
|
19 | | -Error 1: |
| 19 | +> Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator. |
20 | 20 |
|
21 | | -- > Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator. |
| 21 | +## Error 2 |
22 | 22 |
|
23 | | -Error 2: |
| 23 | +When you try to open the Dynamics 365 App for Outlook while using Outlook on the desktop, you might receive the following error message: |
24 | 24 |
|
25 | | -- > Having trouble signing in? |
26 | | - > Something went wrong during sign-in. Please try adding the following URLs to your Trusted Sites: |
27 | | - > `https://*.dynamics.com` |
28 | | - > `https://login.microsoftonline.com` |
29 | | - > If the problem persists, contact your system administrator. |
| 25 | +> Having trouble signing in? |
| 26 | +> Something went wrong during sign-in. Please try adding the following URLs to your Trusted Sites: |
| 27 | +> `https://*.dynamics.com` |
| 28 | +> `https://login.microsoftonline.com` |
| 29 | +> If the problem persists, contact your system administrator. |
30 | 30 |
|
31 | 31 | ## Cause and resolution for error 1 |
32 | 32 |
|
33 | 33 | ### Cause 1 |
34 | 34 |
|
35 | | -Microsoft Dynamics 365 App for Outlook was unable to connect to the authorization service to ensure that you're authorized to use this app. |
| 35 | +The Dynamics 365 App for Outlook can't connect to the authorization service to ensure that you're authorized to use this app. |
36 | 36 |
|
37 | 37 | #### Resolution |
38 | 38 |
|
39 | | -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, make sure the URLs used by Dynamics 365 and also your authentication URLs are using the same integrity level. Use one of the following options: |
| 39 | +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. |
40 | 40 |
|
41 | 41 | ##### Option 1 - Add each of the Dynamics 365 URLs and your authentication URLs to the same security zone in Internet Explorer |
42 | 42 |
|
43 | | -1. In Internet Explorer, click **Tools**, and then click **Internet Options**. |
44 | | -2. Click the **Security** tab, click the **Trusted Sites** zone, and then click **Sites.** |
| 43 | +1. In Internet Explorer, select **Tools** > **Internet Options**. |
| 44 | +2. Select the **Security** tab, select the **Trusted Sites** zone, and then select **Sites**. |
45 | 45 | 3. In **Add this website to the zone**, type the following URLs one at a time: |
46 | 46 |
|
47 | 47 | `*.dynamics.com` |
48 | 48 | `*.microsoftonline.com` |
49 | 49 | `https://login.windows.net` |
50 | 50 |
|
51 | 51 | > [!IMPORTANT] |
52 | | - > 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 (ADFS) 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. |
| 52 | + > 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. |
53 | 53 |
|
54 | | -4. Click **Add**, click **Close**, and then click **OK**. |
55 | | -5. Click **OK** to close the Internet Options dialog box. |
| 54 | +4. Select **Add**, and then select **OK** to save the sites. |
56 | 55 |
|
57 | 56 | ##### Option 2 - Enable Protected Mode on each Internet Explorer security zone |
58 | 57 |
|
59 | 58 | By enabling Protected Mode on each Internet Explorer security zone, each URL will load in the same integrity level. |
60 | 59 |
|
61 | | -1. In Internet Explorer, click **Tools**, and then click **Internet Options**. |
62 | | -2. Click the **Security** tab. |
| 60 | +1. In Internet Explorer, select **Tools** > **Internet Options**. |
| 61 | +2. Select the **Security** tab. |
63 | 62 | 3. Select each of the zones (**Internet**, **Local Intranet**, and **Trusted sites**). |
64 | 63 | 4. While selecting each zone, verify the **Enable Protected Mode** checkbox is selected. |
65 | | -5. Click **OK** to close the Internet Options dialog box. |
| 64 | +5. Select **OK** to close the **Internet Options** dialog box. |
66 | 65 |
|
67 | 66 | > [!NOTE] |
68 | 67 | > When Protected Mode is enabled for a security zone, the URLs will load in the low integrity level (most secure). When Protected Mode is disabled for a security zone, the URLs will load in the medium integrity level. If a URL isn't added to the **Trusted Sites** or **Local Intranet** zones, it will default to loading in the Internet zone, which has Protected Mode enabled by default. |
69 | 68 |
|
70 | 69 | ### Cause 2 |
71 | 70 |
|
72 | | -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. |
| 71 | +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. |
73 | 72 |
|
74 | 73 | #### Resolution |
75 | 74 |
|
76 | | -If you changed your Dynamics 365 (online) URL after Microsoft Dynamics 365 App for Outlook was installed, you need to redeploy the app: |
| 75 | +If you change your Dynamics 365 (online) URL after the Dynamics 365 App for Outlook is installed, you need to redeploy the app: |
| 76 | + |
| 77 | +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**. |
77 | 78 |
|
78 | | -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. |
79 | 79 | 1. Select the users who should have the app redeployed and use one of the **Add App** buttons to redeploy the app. |
80 | | -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. |
| 80 | + |
| 81 | +1. After the **Status** changes to **Added to Outlook**, you can verify if the issue is resolved. If you already had the app open, close and reopen it. |
81 | 82 |
|
82 | 83 | #### More information |
83 | 84 |
|
84 | 85 | 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`). |
85 | 86 |
|
86 | 87 | ## Cause and resolution for error 2 |
87 | 88 |
|
88 | | -Some of the URLs required to use the Dynamics 365 App for Outlook are in different Internet Explorer security zones (ex. **Internet**, **Trusted Sites**, or **Local Intranet**). |
| 89 | +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 |
|
90 | | -When using Dynamics 365 App for Outlook within Outlook desktop, Internet Explorer is used to display the content and also redirect you to authenticate as needed. The different security zones may be using different integrity levels depending on whether Protected Mode is enabled for the zone. If the different URLs load with different integrity levels, it will prevent authentication from being passed successfully from your authentication URLs to Dynamics 365. |
| 91 | +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 be using different integrity levels depending on whether Protected Mode is enabled for the zone. If the different URLs load with different integrity levels, it will prevent authentication from being passed successfully from your authentication URLs to Dynamics 365. |
91 | 92 |
|
92 | 93 | ### Resolution |
93 | 94 |
|
94 | | -To solve this issue, make sure the URLs used by Dynamics 365 and also your authentication URLs are using the same integrity level. Use one of the opotions: |
| 95 | +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: |
95 | 96 |
|
96 | 97 | - [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 | 98 | - [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