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)

Portals: Is it possible to push username and pass or in some hashed value to SignIn page and user is automatically logged in?

(0) ShareShare
ReportReport
Posted on by 290

Hi Guys,

is this even possible?

I would do it in a way --> xxxxxxxxxxxxx/login

BR,

Miha

*This post is locked for comments

I have the same question (0)
  • Craig P. Fleming Profile Picture
    950 on at

    This seems like such a bad idea, what is the use case that you intend to use it for? Perhaps that detail might bring about some alternative solutions.

  • Miha Mocnik Profile Picture
    290 on at

    I also think the same but didn't have any other idea how to achieve this..

    Use case: customer has ADX portal and we want to add the MS CRM Portal and then apply  our solution there. The question would be how to achieve that both ADX and MS CRM portal uses the same credentials for login. E.g. user is already registered in the old ADX and then click on one link and it is redirrected to MS CRM portal and it is automatically logged in.

    Maybe, the solution would be just to have both on the same Platform but this brings additional cost for the client which would probably not be confirmed..

    I really don't have any idea what can we do here that is not expensive for the client..

    Thank you!

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Miha,

    You might be able to migrate the credentials from ADX to CRM Portals, but that will not solve the double authentication issue unless you create a shared authentication provider between both systems:

    Take a look at Azure AD authentication, oAuth2 or SAML.

    Hope this helps.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Miha,

    Having both Adxstudio Portal and Microsoft Portal solutions at the same time is an unsupported scenario.

    If you are planning to use Microsoft Portal then first plan to upgrade your Adxstudio to Microsoft Portal instead of keeping both in the same instance. By doing this your Adxstudio User can access the Microsoft Portals as well without doing any additional settings/configurations.

    Hope it helps.

    If my answer helped to resolve your issue, kindly verify it by clicking 'Yes'. It would be helpful to the other community members seeking to resolve a similar issue.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

     

  • Miha Mocnik Profile Picture
    290 on at

    Hi Arpit!

    thank you for the info.

    What if we want to have only MS Portals and generate some link with the encrypted username, pass and some validation date (how long is the link valid) so the user who gets this link is automatically logged as this Contact? Is this supported?

    BR,

    Miha

  • Verified answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Miha,

    If you are planning to have it on MS Portal then I think you can go ahead with this approach. You can send the Portal Sign Page URL along with encrypted username and password. And on the Sign In Page load, you can write a logic to get the encrypted data from URL, Decrypt that and can perform the Auto login.

    I am just wondering to use about the other options that user is having on Login page. Like Forget Password.

    But, I think you can manage that by keeping a flag on Portal Contact record and ask user to enable whether he/she wants to have Auto Login option or not. If User opt Yes, then only Auto Login functionality should work.

    Hope it helps.

    To Customize Login Page, you can check my below article:

    http://arpitmscrmhunt.blogspot.co.uk/2017/05/edit-stylelayout-of-login-page-in-crm.html


    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

     

  • Miha Mocnik Profile Picture
    290 on at

    Thank you!

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
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans