Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Something went wrong during sign-in" error using Dynamics 365 App for Outlook


Symptom

When using the Dynamics 365 App for Outlook within Outlook desktop, you encounter the following error:

"Having trouble signing in?

Something went wrong during sign-in. Please try adding the following URLs to your Trusted Sites:

https://*.dynamics.com

https://login.microsoftonline.com

If the problem persists, contact your system administrator."

↑ Back to the top


Cause

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

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.

↑ Back to the top


Resolution

Make sure the URLs used by Dynamics 365 and also your authentication URLs are using the same integrity level. Use one of the following resolutions:

Option 1 - Add each of the Dynamics 365 URLs and your authentication URLs to the same security zone in Internet Explorer.

  1. In Internet Explorer, click Tools, and then click Internet Options.
  2. Click the Security tab, click the Trusted Sites zone, and then click Sites.

  3. In Add this website to the zone, type the following URLs one at a time: 

    *.dynamics.com

    *.microsoftonline.com

    https://login.windows.net

    Important:  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.  

  4. Click Add, click Close, and then click OK.

  5. Click OK to close the Internet Options dialog box.

Option 2 - Enable Protected Mode on each Internet Explorer security zone

By enabling Protected Mode on each Internet Explorer security zone, each URL will load in the same integrity level.

  1. In Internet Explorer, click Tools, and then click Internet Options.
  2. Click the Security tab. 
  3. Select each of the zones (Internet, Local Intranet, and Trusted sites).
  4. While selecting each zone, verify the Enable Protected Mode checkbox is selected.
  5. Click OK to close the Internet Options dialog box.

↑ Back to the top


More Information

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 is not 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.  

↑ Back to the top


Keywords: Something went wrong, Dynamics 365, app for Outlook

↑ Back to the top

Article Info
Article ID : 4035750
Revision : 7
Created on : 6/12/2018
Published on : 6/12/2018
Exists online : False
Views : 76