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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (3,257)