Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I want to connect to an OData feed by using an Web API key for authentication. The obvious way is to choose "Get Data"/"OData Feed" and use the editor. After I entered the URL I need to choose how to authenticate. Because I have a API key I chose "Web API", entered the key and hit "connect" --> Error.
I'd really like to specifiy the API key name - but how? The dialog in this case doesn't work as designed and is of no use. We always need to use a workaround.
Hi @Sokon,
You can pass ApiKeyName in the OData.feed() use Power Query. For more information, see:
authenticating with Excel Power Query against .Net Odata Web Api
API Strategies with Power BI
Best Regards,
Qiuyun Yu
Is there no way to specify the ApiKeyName without having to resort to writing the OData.feed() function yourself in Power Query? This might be fine for technical users, but isn't a great experience for business users. With OData feeds using basic authentication, everything can be done in the UI/Wizard (no need to write the function expression). But when an OData feed uses an API key, the UI/Wizard is useless... why can't Microsoft simply expose the ApiKeyName parameter somewhere in this UI?
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 |
---|---|
86 | |
76 | |
52 | |
39 | |
35 |
User | Count |
---|---|
92 | |
67 | |
54 | |
52 | |
46 |