Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
66 | |
61 | |
46 | |
45 |