cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Guthman122
New Member

Basic authentication with Web API data source

How can I consume a REST endpoint that requires Basic authentication?

 

When I go to Power Apps -> Entities -> Get Data -> Web API, the only available options are:

Guthman122_0-1603806893761.png

 

I was expecting to see the same thing as with Power Query in the Power BI service:

 

Guthman122_1-1603806932869.png

Am I doing something wrong or is it the case that Power Query =/= Power Query? I've tried passing username and password in the url, as in https://<user>:<pass>@url.com, but that didn't work...

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @Guthman122 ,

Unfortunately basic auth is not available as an option in CDS Dataflows.

You could setup a custom connector for that API and then consume that connector in a Power Automate flow. More information at the reference below.

https://docs.microsoft.com/en-us/power-automate/developer/register-custom-api

---

Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

1 REPLY 1
ChrisPiasecki
Super User
Super User

Hi @Guthman122 ,

Unfortunately basic auth is not available as an option in CDS Dataflows.

You could setup a custom connector for that API and then consume that connector in a Power Automate flow. More information at the reference below.

https://docs.microsoft.com/en-us/power-automate/developer/register-custom-api

---

Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Helpful resources

Announcements
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.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,320)