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
Anonymous
Not applicable

How to connect to a secure API

I want to access data from a secure api which request URL is :

[HOST]/[BASE_PATH]?apiKey=[API_KEY]

 

I've already generated an authentification token which works: 

Geek0874_0-1694164672263.png

 

In Power BI, I want to set a Web Data Source. For the moment I have done the following steps :

 

- assign my token value to the parameter "apikey"

Geek0874_0-1694165287521.png

 

 

- then I want to define a API web type authentification so I've entered my token value in the Key field and choose the lower level to apply those parameters (which corresponds to [HOST]/[BASE_PATH]?) but I have an error "a web API key can be specified when a web API key name is provided" 

Geek0874_0-1694165373976.png

 

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

You can try to select the basic input in web source,

vxinruzhumsft_0-1694409693304.png

 

Then make the key as a value to input to the authentication.

vxinruzhumsft_1-1694409739891.png

You can refer to the following link.

Solved: A web API key can only be specified when a web API... - Microsoft Fabric Community

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

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