web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Redirect user to Home ...
Power Pages
Unanswered

Redirect user to Home page after profile update

(0) ShareShare
ReportReport
Posted on by 169

Hello,

 

When a new contact is invited to portal, user gets a link with the invitation code and the following page opens:

Iro__0-1649754679513.png

After user completes registration, they are redirected to Profile Page. After they update their profile, they should be redirected to the Home Page. Instead, they are redirected to the "redeem invitation page" I posted above. How should I change this behaviour?

Categories:
I have the same question (0)
  • oliver.rodrigues Profile Picture
    9,455 Most Valuable Professional on at

    That's seems weird

    Is there any JS customizations? 

    Are you using the OOB profile page/form or is this a custom page/form?

  • Morgan78 Profile Picture
    169 on at

    Hello @OliverRodrigues 

     

    Yes, I am using the OOB profile Page with no JS customizations on it.

    Iro__0-1649939199996.png

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Have you used the default Azure B2C policy etc or has someone used a custom one?

     

    Note, there is a "returnUrl" url parameter that is used to redirect the user to another page after they have signed in (e..g. if someone bookmarks a page that requires sign-in, this parameter is populated so that after they have signed in and confirmed their Profile they are pushed to the page they were after). Check to see if this is being populated (e.g. from a custom B2C policy), or in some other code - when logged out hover the Sign-in link, and on the Profile page look in the browsers URL bar for it.

  • Morgan78 Profile Picture
    169 on at

    Hello,

     

    Yes, I noticed that there is a return Url on profile.

     

    /profile/?ReturnUrl=%2Fen-US%2FRegister

     

    How can I change that? 

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Ideally, you need to work out where it is coming from (e.g. is the B2C writing it because someone was thinking they were being smart and setting up the B2C to return the user to the page they came from) 

     

    But you can hard code it if necessary - see the solution to the following forum question (the bit of Liquid code they are changing is held in the Web Template called "Header")  https://powerusers.microsoft.com/t5/Power-Apps-Portals/Redirect-to-Home-page-after-user-login-to-portal/td-p/732471 

     

  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Ideally, you need to work out where it is coming from (e.g. is the B2C writing it because someone was thinking they were being smart and setting up the B2C to return the user to the page they came from) 

     

    But you can hard code it if necessary - see the solution to the following forum question (the bit of Liquid code they are changing is held in the Web Template called "Header")  https://powerusers.microsoft.com/t5/Power-Apps-Portals/Redirect-to-Home-page-after-user-login-to-portal/td-p/732471

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard