Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
matthewmarra
Regular Visitor

REST API with Gateway as Web data source

I have my data source configured in PowerBI desktop as the web option there allows to add headers and I am able to pass the tenant key in the call, however when presented with the web option in the gateway I do not have a place to pass that key in the call. I need to pass that and the authorization header.

 

I'd like to have live reporting online where I can share my reports but can only seem to get data refreshed in PowerBI desktop.

 

Screen Shot 2018-05-24 at 9.49.44 PM.png

Thank you for any help!

2 REPLIES 2
Anonymous
Not applicable

@matthewmarra,

Could you please post the code in Advanced Editor of Power BI Desktop that you use to connect to your data source?

In your scenario,  if the root URL of the your api works with anonymous access, you can keep the root part of the url and add the rest to relative path in your power query code, then use Annoymous authentication in Power BI Service to refresh your dataset, there is a similar thread for your reference.

https://community.powerbi.com/t5/Service/Refreshing-a-Restful-Data-Source-with-API-Key/td-p/131298

Regards,
Lydia

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors