Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hey
I am trying to connect to an API returnet some details.
However, when I post in the API key under the "Web API" I get the "A web API key can only be specified when a web API key name is provided" error code. I have read that one must copy the same API key into the username under basic, but unfortunately this doesn't work either.
Best regards,
Mads C.
Solved! Go to Solution.
Hi @MadsChristensen ,
Based on your description, there is a way to get around the Power BI limitation of not being able to perform anonymous authentication for Web data sources that require API keys by using Azure function proxies.
To learn more details, see the following documentation:
Power BI: Using anonymous authentication on Web data sources with a API key in URL – Kloud Blog
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MadsChristensen ,
Based on your description, there is a way to get around the Power BI limitation of not being able to perform anonymous authentication for Web data sources that require API keys by using Azure function proxies.
To learn more details, see the following documentation:
Power BI: Using anonymous authentication on Web data sources with a API key in URL – Kloud Blog
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@MadsChristensen , check if old solutions can help
https://community.powerbi.com/t5/Service/Web-connection-API-Key/m-p/2549250
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
78 | |
41 | |
40 | |
35 |