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)

CRM Portal external authentication with custom provider using SAML2

(0) ShareShare
ReportReport
Posted on by 4,510

Dear All,

We have a requirement where in we have to authenticate CRM community portal users using custom in-house authentication provider using SAML2 (not oAuth2).

Custom provider is working fine with salesforce community portal using SAML2 already.

Running through multiple blogs and administrative guide of portal below are my findings:
1. Apart from "ADFS" and "Shibboleth Identity Provider" there are no examples and samples available for any third party providers.
2. Settings are different for each custom identity provider.  
3. For setting up SAML2 this URL is referred: "https://portal.contoso.com/signin-saml2"  I am not sure whether this is what is SAML2 url.

Can anyone suggest how to approach this.

Thanks in advance.

Pranav

*This post is locked for comments

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

    HI Pranav,

    CRM Portals support SAML2 and https://portal.contoso.com/signin-saml2 is the correct url, The support for SAML 2.0 is limited to IDP initiated profile only and doesn't have support for SP-initiated authentication.

    Thanks,

    Kunal

  • PranavShroti Profile Picture
    4,510 on at

    Thanks for the response Kunal.

    We have hosted our server on Azure which provides end points for applications hosted.

    FEDERATION METADATA DOCUMENT

    https://login.windows.net/&lt;<AppID>>/federationmetadata/2007-06/federationmetadata.xml

    SAML

    SAML-P SIGN-ON ENDPOINT

    https://login.windows.net/&lt;<AppID>>

    SAML-P SIGN-OUT ENDPOINT

    https://login.windows.net/&lt;<AppID>>/saml2

    OAUTH 2.0 TOKEN ENDPOINT

    https://login.windows.net/&lt;<AppID>>/oauth2/token

    OAUTH 2.0 AUTHORIZATION ENDPOINT

    https://login.windows.net/&lt;<AppID>>/oauth2/authorize

  • Community Member Profile Picture
    on at

    We are getting page not found within the portal

    2017_2D00_10_2D00_20_5F00_1344.png

    when usinh clienportalname.microsoftcrmportals.com/signin-saml2

    Any ideas?

  • Suggested answer
    imKtripathy Profile Picture
    on at

    Hi David, validate if your auth provider is using POST method while sending the response back to the portal.

  • Community Member Profile Picture
    on at

    Hi there,

    We are currently seeing the exact same behaviour.

     - We are successfully authenticating at our IDP and then seeing a SAML 2.0 assertion get POSTED back to our Adoxio xRM Portal's /signin-saml2 page

     - But then we get the Custom Portal "Page Not Found" page displayed, exactly as per your screenshot.

    We're trying to debug everything possible, but there's not a lot of logging available to help tell us why the Adoxio xRM Portal isn't happy.

    Can anyone help?

  • sam hajjar Profile Picture
    25 on at

    Dear all,

    Have you been able to advance in that matter?

    Can you describe adopted solution or share some tips.

    Thanks,

    Sam

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 March Top 10 Community Leaders

These are the community rock 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