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 :
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
    Microsoft Employee 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

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

#1
ManoVerse Profile Picture

ManoVerse 151 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 134

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 55 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans