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 / Confirm exit message
Power Apps
Answered

Confirm exit message

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I've found the need to place a confirm exit blocker in my powerapp. The only problem is that although I can switch it on and off, the message it says is uneditable - 

dialogue.PNG

Message.PNG

I've double checked it's the correct version that's running but no matter what it only uses the default text...

Anyone managed to get it working?

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

    Hi @Anonymous 

     

    Are you using the Exit() function?

    This message will only trigger if using this and when not inside the editor.

    If you try close the tab, the standard message from your browser will pop up (as per your picture)

     

    image.png

     

    Cheers,

    Sancho

  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    The message you post is a generic message from the browser. If you run Exit() function or swipe to switch to a different app in Power Apps Mobile, the confirmation dialog box will appear.

    Please check the situation that PowerApps confirmation dialog box appears. Reference: ConfirmExit 

    • Running the Exit function.
    • If the app is running in a browser:
      • Closing the browser or the browser tab in which the app is running.
      • Selecting the browser's back button.
    • If the app is running in Power Apps Mobile (iOS or Android):
      • Running the Launch function.
        The Launch function doesn't trigger the dialog box in a browser because another tab opens so that data isn't lost.
      • Swiping to switch to a different app in Power Apps Mobile.
      • Selecting the back button on an Android device.

    Note: In a browser, the confirmation dialog box might appear with a generic message from the browser.

    Sik

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 482 Most Valuable Professional

#2
11manish Profile Picture

11manish 459

#3
Haque Profile Picture

Haque 331

Last 30 days Overall leaderboard