cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alexjames
Level: Powered On

Sign in/ out from within app?

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Sign in/ out from within app?

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 REPLY 1
Community Support Team
Community Support Team

Re: Sign in/ out from within app?

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 226 members 4,774 guests
Please welcome our newest community members: