Skip to content

Commit 0df43dc

Browse files
authored
combine the 2 articles
1 parent fadd0ac commit 0df43dc

4 files changed

Lines changed: 68 additions & 80 deletions

File tree

.openpublishing.redirection.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12879,6 +12879,10 @@
1287912879
{
1288012880
"source_path": "support/power-platform/dataverse/d365-app-outlook/error-when-installing-crm-2016-outlook.md",
1288112881
"redirect_url": "/previous-versions/troubleshoot/dynamics/crm/error-when-installing-crm-2016-outlook"
12882+
},
12883+
{
12884+
"source_path": "support/power-platform/dataverse/d365-app-outlook/something-went-wrong-during-sign-in.md",
12885+
"redirect_url": "/troubleshoot/power-platform/dataverse/d365-app-outlook/something-went-wrong-during-sign"
1288212886
}
1288312887
]
1288412888
}

support/power-platform/dataverse/d365-app-outlook/something-went-wrong-during-sign-in.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

support/power-platform/dataverse/d365-app-outlook/something-went-wrong-during-sign.md

Lines changed: 63 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,93 @@ ms.reviewer:
55
ms.date: 03/04/2025
66
ms.custom: sap:Dynamics 365 App for Outlook Add-In
77
---
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
99

1010
This article provides a solution to an error that occurs when you access the Microsoft Dynamics 365 App for Outlook.
1111

1212
_Applies to:_   Dynamics 365 App for Outlook
13-
_Original KB number:_   3064194
13+
_Original KB number:_   3064194, 4035750
1414

1515
## Symptoms
1616

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:
1818

19-
> Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator.
19+
Error 1:
2020

21-
## Cause
21+
- > Something went wrong during sign-in. Please try again. If the problem persists, contact your system administrator.
2222
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
2434

2535
Microsoft Dynamics 365 App for Outlook was unable to connect to the authorization service to ensure that you're authorized to use this app.
2636

27-
Cause 2
37+
#### Resolution
2838

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
3058

31-
## Resolution
59+
By enabling Protected Mode on each Internet Explorer security zone, each URL will load in the same integrity level.
3260

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.
3466

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.
3669
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
3875

3976
If you changed your Dynamics 365 (online) URL after Microsoft Dynamics 365 App for Outlook was installed, you need to redeploy the app:
4077

4178
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.
4279
1. Select the users who should have the app redeployed and use one of the **Add App** buttons to redeploy the app.
4380
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.
4481

45-
## More information
82+
#### More information
4683

4784
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)

support/power-platform/dataverse/toc.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@
5454
href: d365-app-outlook/troubleshoot-item-level-server-side-synchronization-issues.md
5555
- name: Privilege error when using App for Outlook
5656
href: d365-app-outlook/privilege-error-occurs-when-using-dynamics-365-app-for-outlook.md
57-
- name: Something went wrong during sign-in when accessing App for Outlook
57+
- name: '"Something went wrong during sign-in" error when accessing App for Outlook'
5858
href: d365-app-outlook/something-went-wrong-during-sign.md
59-
- name: Something went wrong during sign-in when using App for Outlook
60-
href: d365-app-outlook/something-went-wrong-during-sign-in.md
6159
- name: The authentication was not successful
6260
href: d365-app-outlook/the-authentication-was-not-successful.md
6361
- name: The view is not available when opening an email

0 commit comments

Comments
 (0)