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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans