Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31082

powerbi dataset and dashboard refresh api - acquire access token using client http connection

$
0
0

Hi,

 

I am trying to use power bi api to refresh data set and dash boards after my daily extract & load tool loads the data into the on-premise tables.

 

I have gone through lot of posts and community articles and followed various steps to retreive access token and try to make a refresh call to dataset and dashboard. Its not working I always get 404 error. 

 

The approach I followed was to extract the access_token using C# sample code ( got it from the power bi developer site) and used the token in "Authorization"  & added content-type as application/json as headers and tried to GET the below url

https://api.powerbi.com/v1.0/myorg/groups/me/datasets/d49f21e2-aef1-4cc8-a512-b8523d1e6c63/refreshes

 

I would like to know if I want to get the access_token through http clients ( like postman or curl ) and invoke refresh api's is there a direct approach supported by Power BI API or do I need to follow any special steps to achieve this?

 

Thanks,

Venkat

 


Viewing all articles
Browse latest Browse all 31082

Trending Articles



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