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

4 REPLIES 4
WarrenBelz
Super User III
Super User III

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 III
Super User III

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?

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (45,154)