Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
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?

  • Fubar Profile Picture
    8,023 Super User 2025 Season 1 on at
    Re: Redirect user to Home page after profile update

    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,023 Super User 2025 Season 1 on at
    Re: Redirect user to Home page after profile update

    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 

     

  • Morgan78 Profile Picture
    169 on at
    Re: Redirect user to Home page after profile update

    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,023 Super User 2025 Season 1 on at
    Re: Redirect user to Home page after profile update

    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
    Re: Redirect user to Home page after profile update

    Hello @OliverRodrigues 

     

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

    Iro__0-1649939199996.png

     

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: Redirect user to Home page after profile update

    That's seems weird

    Is there any JS customizations? 

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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35