Forum Discussion
sanjeevgaut
5 years agoFrequent Visitor
PowerBIClient does not have any value.
I am trying to read powerbi report using powerbi SDk. I got correct access token (tested in postman). Same access token is passed for TokenCredentials. but not getting any value in _powerBIClient. it...
- 5 years ago
Instead of
var _powerBIClient = new PowerBIClient(new Uri("https://api.powerbi.com/"), tokenCredentials);added below and it worked.
var _powerBIClient = new PowerBIClient(new Uri("https://api.powerbi.com"), tokenCredentials);
sanjeevgaut
5 years agoFrequent Visitor
Instead of
var _powerBIClient = new PowerBIClient(new Uri("https://api.powerbi.com/"), tokenCredentials);added below and it worked.
var _powerBIClient = new PowerBIClient(new Uri("https://api.powerbi.com"), tokenCredentials);