cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,123)