Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Variations of the same data source API are treated as different data sources (credentials & privacy)

I have created a custom connector for a specific REST API, and I am able to invoke the different services of the API from Power BI Desktop queries using the custom connector. The services of the API ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    I found a workaround/solution for my problem. Looking at the official documentation I found out that "the M engine identifies a data source based on the required parameters of the custom connector". I changed my custom connector so that only the common part of the API URL is regarded as a required parameter and the other parameters (including the end part of the URL) are regarded as optional. This way Power BI stores credentials for the data source based on the common part of the API URL and uses those credentials for all calls to the API with the same common part of the URL.