web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ADX v7 External Authentication

(0) ShareShare
ReportReport
Posted on by

Using version 7.0.0023 hosted in Azure with 2016 Update 1 online.

I've setup external authentication with Google, Facebook and Twitter, but I'm having issues with the Microsoft one. I've followed this page, as well as this one, just to confirm I was using the correct Application ID and password/secret. I've added the ID and secret to the following site settings:

Authentication/OpenAuth/Microsoft/ClientId (set the value to the Application ID Guid)

Authentication/OpenAuth/Microsoft/ClientSecret (set the value to the key provided when clicking Generate New Password)

I've set the redirect URL to http://<myportal>/signin-microsoft.

The connect button appears in the Manage External Authentication area in the Profile, but clicking on it doesn't take me to the Microsoft sign in page, it just displays an alert at the top of page saying 'Failed to add the external account.'

Have I set the site settings to the correct values, or am I missing something else? The other three providers I've setup are working fine, although for Twitter I did have to add some code to Startup.Auth.cs as per the advice given here.

Thanks,

Sam

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Now somewhat solved..

    Changing the redirect URL to use https rather than http, and using https with the portal makes it work. Using a combination of http and https on either side doesn't. A little strange as none of the other providers are like this, but I suppose it's not the worst thing to enforce.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans