Forum Discussion
rustym94
3 years agoFrequent Visitor
OData feed - Web API key can only be specified when a web API key name is provided
I created a custom report to report on machines via Defender by following the guide below using Odatafeed
I am able to authenticate myself using my own credentials however I need to authenticate via Web API, so I created an app registration following the guide below and granted Read access within permissions for Defender machines.
I ran into the error "Web API key can only be specified when a web API key name is provided", however whenever I tried to add the API Key name by adding [ApiKeyName="Testkey"] I get the following error.
1 Reply
- lbendlinSuper User
I recommend you read through this thread OData.Feed command with query and options no worki... - Microsoft Power BI Community
especially a couple pages down they discuss the correct syntax.