I'm trying to construct an app that will be used on a company ipad that is passed from shift to shift and accessed from that device by multiple user. The app is linked to sharepoint and requires connection using their account details.
Is there an elegant solution to signing users out from within an app rather than having to go to the overarching PowerApps app?
Any help gratefully received!
Solved! Go to Solution.
Hi @alexjames ,
Do you want to let the users sign out within an app rather than go to the overarching PowerApps app?
Based on the needs that you mentioned, I think the Exit() function could achieve your needs. The Exit() function is used to exit the currently running app.
On your side, you could consider add a "Sign Out" button within your app, then set the OnSelect property to following:
Exit(true) /* <-- The Boolean value within the Exit() function indicates that the function would also log the user out of PowerApps*/
please take a try with above solution, then re-publish your app, run your app within your iPad device again, check if the issue is solved.
Note: Above formula would log the sign user out of PowerApps, the other users need to provide their credentials to sign in PowerApps again.
In addition, if you want to sign in within a canvas app, I afraid that there is no way to achieve your needs in PowerApps currently.
Best regards,
Hi @alexjames ,
Do you want to let the users sign out within an app rather than go to the overarching PowerApps app?
Based on the needs that you mentioned, I think the Exit() function could achieve your needs. The Exit() function is used to exit the currently running app.
On your side, you could consider add a "Sign Out" button within your app, then set the OnSelect property to following:
Exit(true) /* <-- The Boolean value within the Exit() function indicates that the function would also log the user out of PowerApps*/
please take a try with above solution, then re-publish your app, run your app within your iPad device again, check if the issue is solved.
Note: Above formula would log the sign user out of PowerApps, the other users need to provide their credentials to sign in PowerApps again.
In addition, if you want to sign in within a canvas app, I afraid that there is no way to achieve your needs in PowerApps currently.
Best regards,
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
172 | |
62 | |
32 | |
31 |
User | Count |
---|---|
338 | |
270 | |
105 | |
71 | |
56 |