Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48064

Re: DMTS_DatasourceHasNoCredentialError

$
0
0

I encountered the same problem when building a custom web app using NodeJS.

 

You need to update the connection string with your parameters (this information might be stored in the PBIX file, but I'm not sure), you can find the connection string in the Azure Portal:

https://msdn.microsoft.com/en-us/library/mt711505.aspx

 

You also need to update the credentials of the data source in the gateway with the following REST call:

https://msdn.microsoft.com/en-us/library/mt711498.aspx

 

Check out the source of the Getting Started sample:

https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/blob/master/ProvisionSample/Program.cs#L427-L481


Viewing all articles
Browse latest Browse all 48064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>