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 Apps / Exit() button behaving...
Power Apps
Unanswered

Exit() button behaving differently in powerapps

(0) ShareShare
ReportReport
Posted on by 595

I have a powerapp, where I have added Exit button at the top of the screen which has the code Exit() in OnSelect.

 

When I access the app from make.powerapps.com and click on exit button, it redirects me to make.powerapps.com which is correct behaviour.

 

However when I copy the app URL from Microsoft Teams and paste it in chrome browser which opens up the app directly. I clicked on Exit button and it redirects me to https://www.office.com/apps?auth=2

 

It should be redirected to make.powerapps.com even when opened directly by copying the link from Teams

 

Any idea why it behaves like this and how to avoid it?

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Definitely not supposed to do that based on the documentation

    Could you instead use the following?

    Launch("https://make.powerapps.com", LaunchTarget.Replace)

     

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 Apps

#1
11manish Profile Picture

11manish 577

#2
WarrenBelz Profile Picture

WarrenBelz 440 Most Valuable Professional

#3
Haque Profile Picture

Haque 308

Last 30 days Overall leaderboard