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 :
Customer experience | Sales, Customer Insights,...
Answered

How to change landing page and add another page as landing page - Dynamic 365 portal

(0) ShareShare
ReportReport
Posted on by 35

Hi all,

I want to remove my home page ( landing page) and add the registration page as a landing page. 

Currently, I do not check the user has a login on the website. They are automatically redirected to the home page URL. But I need to redirect on the registration URL. I do not need to check the user has a login on the website.

Home URL:  https://XXXX.powerappsportals.com/en-US/

Registration URL:  https://XXXX.powerappsportals.com/en-US/XXXregistration/

Thank you.

Kind Regards,

Dipen

I have the same question (0)
  • Suggested answer
    Gustavo Longo Profile Picture
    on at

    Hello D patel,

    Please, refer for this thread:

    powerusers.microsoft.com/.../349385

    Regards,

  • D patel Profile Picture
    35 on at

    Hello partner,

    Thank you for a reply to my thread. The link you provide in this tread. That is not the same as I am looking to solve my issue.

    I need to remove the home page and set the registration page as a landing page in the dynamic 365 portal.

    Thank you.

    Kind Regrads,

    Dipen

  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi patel,

    Here are the steps.

    1.Get your portal registration page url.

    pastedimage1590541402151v1.png

    In my case, it's xxx.powerappsportals.com/Account/Login/Register?returnUrl=/ ("%2F" decode is "/")

    2.Create a new web template, and add the following code in it.

    {% if user %}
    <script>
    window.location.replace('');
    </script>
    {% else %}
    <script>
    window.location.replace('/Account/Login/Register?returnUrl=/');
    </script>
    {% endif %}

    pastedimage1590541837646v2.png

    3.Go to Page Templates, find "Home" and change its web template to your new web tempalte.

    pastedimage1590542124453v1.png

    4.Wait a second and refresh your portal, you will find that your portal home page(landing page) has changed to registration page.

    pastedimage1590541936820v4.png

    Regards,

    Leo

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 72 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 29 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans