Forum Discussion
BruceZeng
4 years agoNew Member
How provide the powerbiclient clientcredentials when Export report to file using PowerBI API
Dear all,
I need to use donetcore to access the exported paging report of powerbi API. We used sample code of microsoft, as following the link:
https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report
So, if I want to use a fixed account to access it, how do I implement or provide clientcredentials when declaring object powerbiclient?
1 Reply
- V-lianl-msftCommunity Support
You can use a server-web app, but you will need to add client_secret anywhere you see client_id in this walkthrough. You will need to at least have read permissions enabled.