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
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?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,282)