You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/power-platform/dataverse/d365-app-outlook/something-went-wrong-during-sign.md
+63-13Lines changed: 63 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,43 +5,93 @@ ms.reviewer:
5
5
ms.date: 03/04/2025
6
6
ms.custom: sap:Dynamics 365 App for Outlook Add-In
7
7
---
8
-
# Something went wrong during sign-in error message displays 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
9
9
10
10
This article provides a solution to an error that occurs when you access the Microsoft Dynamics 365 App for Outlook.
11
11
12
12
_Applies to:_ Dynamics 365 App for Outlook
13
-
_Original KB number:_ 3064194
13
+
_Original KB number:_ 3064194, 4035750
14
14
15
15
## Symptoms
16
16
17
-
When you select the Dynamics 365 app in Outlook (anywhere the app is supported), you see the following message:
17
+
When you open the Dynamics 365 app in Outlook, you receive one of the following error messages:
18
18
19
-
> Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator.
19
+
Error 1:
20
20
21
-
## Cause
21
+
-> Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator.
22
22
23
-
Cause 1
23
+
Error 2:
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.
30
+
31
+
## Cause and resolution for error 1
32
+
33
+
### Cause 1
24
34
25
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.
26
36
27
-
Cause 2
37
+
#### Resolution
28
38
29
-
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.
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:
40
+
41
+
##### Option 1 - Add each of the Dynamics 365 URLs and your authentication URLs to the same security zone in Internet Explorer
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.**
45
+
3. In **Add this website to the zone**, type the following URLs one at a time:
46
+
47
+
`*.dynamics.com`
48
+
`*.microsoftonline.com`
49
+
`https://login.windows.net`
50
+
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.
53
+
54
+
4. Click **Add**, click **Close**, and then click **OK**.
55
+
5. Click **OK** to close the Internet Options dialog box.
56
+
57
+
##### Option 2 - Enable Protected Mode on each Internet Explorer security zone
30
58
31
-
## Resolution
59
+
By enabling Protected Mode on each Internet Explorer security zone, each URL will load in the same integrity level.
32
60
33
-
Resolution 1
61
+
1. In Internet Explorer, click **Tools**, and then click **Internet Options**.
62
+
2. Click the **Security** tab.
63
+
3. Select each of the zones (**Internet**, **Local Intranet**, and **Trusted sites**).
64
+
4. While selecting each zone, verify the **Enable Protected Mode** checkbox is selected.
65
+
5. Click **OK** to close the Internet Options dialog box.
34
66
35
-
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).
67
+
> [!NOTE]
68
+
> 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.
36
69
37
-
Resolution 2
70
+
### Cause 2
71
+
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.
73
+
74
+
#### Resolution
38
75
39
76
If you changed your Dynamics 365 (online) URL after Microsoft Dynamics 365 App for Outlook was installed, you need to redeploy the app:
40
77
41
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.
42
79
1. Select the users who should have the app redeployed and use one of the **Add App** buttons to redeploy the app.
43
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.
44
81
45
-
## More information
82
+
####More information
46
83
47
84
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
+
## Cause and resolution for error 2
87
+
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
+
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
+
92
+
### Resolution
93
+
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
+
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