Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Make user automatically logged in Dynamics 365 Portal By Custom Registration Page

(0) ShareShare
ReportReport
Posted on by 1,829

Hi Experts,

I have creates a custom registration page(Entity Form) with username and password.
After registration User is able to login through the OOB sign in page .
But I have a requirement to user should be logged in automatically without using sign in page.

Thanks in Adavance

*This post is locked for comments

  • Hemant Kumar Sahu Profile Picture
    1,829 on at
    RE: Make user automatically logged in Dynamics 365 Portal By Custom Registration Page

    Thanks Arpit for your response. I'll try.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at
    RE: Make user automatically logged in Dynamics 365 Portal By Custom Registration Page

    Hi Hemant,

    Portal users must enter their credential on SignIn page in order to proceed and use rest of the portal functionality smoothly. Skipping that page may create issues in lot of places.

    Because there are lot of Contact field's values and site settings depends on that. 

    The alternative you can try is:

    If you are taking the user's credentials in your custom registration form. Set/Store the username and password in session or in local storage.

    Now, on SignIn page, get the credentials from session/local storage and trigger the Login button automatically through JS.

    By doing this user will get automatically Logged In onto the portal without entering the credential in Sign In page. 

    https://www.w3schools.com/html/html5_webstorage.asp

    If you find the answer as useful, please mark it as verified

     

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans