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

Notifications

Announcements

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,368 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,338 Super User 2025 Season 2 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,338 Super User 2025 Season 2 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,338 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard