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 365 | Integration, Dataverse...
Unanswered

Portals single sign on

(0) ShareShare
ReportReport
Posted on by 75

We have selected a new self service portal to allow users to add new cases.

We want to make it as easy as possible for users, ideally we'd like to provide a link that would take them directly to the portal and use SSO to log them in.

Currently we have set up Azure AD but we are having to click the 'Sign in' link and then click on the 'Azure AD' button.

Is it possible to do away with both of these steps?

I have the same question (0)
  • cloflyMao Profile Picture
    25,210 on at

    Hi mmcmahon,

    It would be not easy to do it with both of these steps.

    Because like 'Sign in with a local account' form, actually 'Azure AD' button and its label 'Sign in with an external account' is also a form,  

    when we click the button, it will request "Account/Login/ExternalLogin" endpoint with some built-in javascript function in Portal to complete whole authentication,

    these embedded scripts are complex(e.g: token for authentication will be generated randomly from Portal back-end) and there are limited options for us to do customization from client side.

    My workaround is that loading "Sign in" page from an iframe element, but the loaded page will be hidden,

    we'll read iframe's document and copy whole 'Azure AD' form element and append it to our custom element.

    pastedimage1585551687191v1.png

    Web template code:

    {% include 'breadcrumbs' %}
    {% include 'page_header' %}

    By this way, user won't navigate to Sign in page manually and they can click 'Azure AD' button in custom page to login.

    Regards,

    Clofly

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 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 74

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans