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)

Authentication Issue with SSO for CRM online

(0) ShareShare
ReportReport
Posted on by

Hi,

We have enabled SSO for CRM online and its working fine when we access CRM from browser. We just enter our UPN(emailId) and it redirects us to federation service and it takes credential automatically and gets into CRM without an issue.

But we are facing issue when we try to connect from plugin registration tool or USD client or our custom code (Oauth). 

When we pass username as UPN and intranet password to connect it gives error. It is able to find my CRM instance bcoz I have provided my UPN but to get me authenticated it should consider my  intranet details but it seems it is considering my UPN and password as combination.

We get below error.

Error : Federated service at https://<fegaderationendpoint>/usernamemixed returned error: ID3242: The security token could not be authenticated or authorized"

When we pass intranet logon details to connect. its not able to find the discovery service as its been linked with UPNs

Environment Details:

1. We have only synced users with Azure AD and not the password.

2. UPN and Intranet logon (Domain\username) is different.

Is something we missing? Please help.

 

Thanks in Advance!

 

*This post is locked for comments

I have the same question (0)
  • Michael Mayo Profile Picture
    13 on at

    I believe the only method of getting the SDK tools to authenticate in an SSO scenario is to force the SSO login page by leaving the credentials screen blank. It would be nice if there was a configuration option in the pluginregistration.exe.config file to specify SSO with options.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans