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

Dynamics Portala|| PowerApps Portal After signout Redirect to Home Page (Without Code--only Customizing)

(0) ShareShare
ReportReport
Posted on by 547

I need user to redirect to Home page after user clicks on signout.

There is already solution provided using liquid script

Here is the solution provided

https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/209262/automatic-redirect-to-login-page-after-logout?pifragment-97030=1#responses


But do we have any customized way in portal to change this behavior. I would like customizing rather than scripting.

Here is one blog which states customizing way but did not helped for me

shaikhd365.blogspot.com/.../redirect-to-home-page-when-logout-into.html

I have the same question (0)
  • Verified answer
    Nicholas Hayduk Profile Picture
    2,863 on at

    I believe updating that Liquid code is your only option - no setting available that I'm aware of.

    To always redirect to your home page, all you need to do is change the following in the Header Web Template from:

    {{ website.sign_out_url_substitution }}

    to:

    /Account/Login/LogOff?returnUrl=%2F

    Hope that helps.

    Nick

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Agree with Nick, there is no configuration to change as the url is built based on the header template so if you need to change this behavior, you have to change the templae..

    Hope this helps.

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