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.

View solution in original post

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.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 268 members 6,438 guests
Please welcome our newest community members: