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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
JonRickner
New Member

Web query will refresh from the desktop, but not from the service. Won't authenticate w/ apikey

I have a PowerBI report that pulls data from this URL: "https://gmiex-nde.nicecloudsvc.com:443/query/VPP_IEX_INTERVAL_STATS.json?stream=true&apikey=54q03j7x..."

 

It refreshes just fine from the PowerBI file opened in the desktop. 

 

WHen I publish the report to the service, I can't get it to refresh. It says "Failed to test the connection to your data source. Please retry your credentials." The only option in the Data source credentials section of the semantic model settings are Anonymous, Basic, OAuth2, and Principal, and none of them allow me to enter the apikey as the authentication method.

 

It is important that we be able to schedule refreshes on the service from this data source. How do I need to configure this so that it pulls data from the URL to the service using the apikey?

 

2 REPLIES 2
Anonymous
Not applicable

Hi @JonRickner 

Has your problem been resolved? If so, could you mark the corresponding reply as the solution so that others with similar issues can benefit from it?

 


Best Regards,

Jayleny

lbendlin
Super User
Super User

Please follow the documentation. Use the APIKey parameter. https://learn.microsoft.com/en-us/powerquery-m/web-contents

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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
Top Kudoed Authors