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 Apps / Launch URL of Home sit...
Power Apps
Answered

Launch URL of Home site of browser

(1) ShareShare
ReportReport
Posted on by 195
Hi all
 
Is there a way using the launch command in Power Apps to have it launch the site set as the home site for the browser?
 
I know it's not needed in terms of recording data and doing the things I built it for, they can just close the browser tab, but I keep getting asked for a "log off/exit" button for a couple of my apps - obviously I can put a button in the app but the best place for it to redirect people to I can think of would be their browser home page. I just don't know if there's a way to reference that setting from inside Power Apps...
 
Edit - also acceptable would be something that closed the current tab in the browser window? I just don't want to send them to the Power Apps home page with the "Exit()" command as all the links to access apps are through Sharepoint and there are multi-app solutions that will break if a user tries to launch an app that's only meant to be launched from other apps.
 
Tried googling all sorts of things but have come up blank so suspect this can't be done, but I live in hope :) If not I'll just redirect them to google.com and let them go from there...
 
Thanks
Categories:
I have the same question (0)
  • Suggested answer
    Ryan_B Profile Picture
    446 on at
    The Exit() function alone will indeed take you to the Power Apps website.
     
    If you use Exit(true) instead, then it will take you to a sign out screen where they can literally sign out of their account in the browser. This will prompt them to choose an account to sign back into when attempting to launch a Power App again though.
     
     
    Lastly, using the Launch functionis probably your best bet and the closest thing you are looking for. I don't know about navigating to their specific homepage, but you can certainly send them to Google or your company's intranet site using this formula:
     
    Launch("https://www.google.com", {}, LaunchTarget.Replace)
     
    It will give the impression that they've left/logged out of the app and the current window will be replaced with whatever URL you use in the Launch function.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard