Power Fx function
Exit — Power Fx function reference
Close the running app.
Syntax
powerfx
Exit( [ SignOut ] )
Examples
powerfx
Exit()
→ Returns to app list
powerfx
Exit(true)
powerfx
If(gblUnsavedChanges, Notify("Save first", NotificationType.Warning), Exit())Common mistakes & gotchas
- Exit(true) also signs the user out of the underlying connections; Exit() or Exit(false) just closes the app.
- Behavior differs by host — closes the window in the mobile player, may just navigate away in a browser tab depending on how the app was launched.
Related Power Fx functions
From App & navigation