Forum Discussion

Trotter's avatar
Trotter
Icon for Helper I rankHelper I
1 year ago
Solved

Data source credentials required on power BI service for an API with a key

Hi   I have set up a report in power BI desktop that uses an API with a key as its data source. When I publish the report in power BI service how do I input the credentials? It does not seem to g...
  • ibarrau's avatar
    1 year ago

    Hi. Reading your comment it looks like the credentials are written at the code in the header of the request. That means you are not using powerbi credentials (auth2, basic, windows, etc). When editing the credentials look for "Anonymous" category. Power Bi Service will asume that it doesn't need credentials for running the request because it's a public request or they already are in the power query code.

    I hope that helps,