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?

Report
All responses (
Answers (