cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DennisNL2020
Helper I
Helper I

Automatically login with username and password

Hi everybody, 

 

I was wondering if there is way to autologon to a PowerApp within the browser. 

 

For example:

https://apps.powerapps.com/play/<APPID>?tenantId=<TENANTID>&username=example1&password=test123

 

Cheers, Dennis

5 REPLIES 5
WarrenBelz
Super User
Super User

Hi @DennisNL2020 ,

No unfortunately - the whole idea of Microsoft authentication is that the logged-in user (to Office 365) has the proper permissions / licensing to run the app and access the data source.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Uhh yeah. I understand that. My question was if there is a way to use a predefined username + password (ofcourse with a proper license). I thought that the <parameters> in the url made that obvious 🙂 

@DennisNL2020 ,

Not as far as I am aware, however, I was being diplomatic as your query could be intended to log anyone using it in with a generic user name and password (there have been other queries directly asking this before).

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

timl
Super User
Super User

Hi @DennisNL2020 

No, it's not possible to autologin by specifying the username and password in the URL.

 

Microsoft take security seriously and they wouldn't allow a method where you can specify Microsoft 365 usernames and passwords in the URL (eg, a technique where the plaintext password can end up in a browser cache, the browser address bar history, the password be exposed to ISPs during a DNS lookup, etc).

 

Perhaps you can explain why you want to do this, and maybe someone can offer a workaround? For example, could you use the Windows 10 Power App player instead, which can cache the login details?

Hi @timl & @WarrenBelz 

 

Please can you advise how you would stop the 'auto' login of PowerAPPs on mobile device

 

We have a tablet that is used by multiple staff (same job role/ different shift ).  The tablet is shared across different staff, but they all have individual MS 365 Accounts and logon's.

 

The issue we face is that although a user logs out at the end of the shift, you simply have to click that user name to be logged back on.   PowerAPPS does not ask for a password following the 1st successful login.

 

How can I make it that the APP is asking for the password for each logon by the staff member.

 

Hope you are help 🙂

Best wishes

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,738)