Forum Discussion
Upload and Download Power Bi file with help of rest API.
I'm trying to download and upload PBIX file through rest api.As we are creating web UI from where user can move pbix files to diferent environment (Dev,Test, Prod) with version control on storage location.
I'm refering MS docs
To download: (Completed/Achived)
https://docs.microsoft.com/en-us/rest/api/power-bi/reports/export-report-in-group
To Upload: (Pending)
https://docs.microsoft.com/en-us/rest/api/power-bi/imports
- Create a temporary upload location using this API call.
- Upload the .pbix files using the shared access signature URL from the API call response.
- Call Post Import In Group, specifying the shared access signature URL in the fileUrl parameter of the request body.
I'm stuck at upload part (2), how to upload a file(.Pbix) after creating a temporary upload location.
Can someone help me on this or share any other reference material .
3 Replies
- nitishsh91
Solution Supplier
Hi dheer1610
Please have a look at this article which will help you
https://powerbi.microsoft.com/en-us/blog/upload-a-local-pbix-file-using-the-import-api/
- dheer1610Frequent Visitor
Hi nitishsh91
Thank you for reply. I checked the link you shared.
But where i've uplaod the pbix file and share the the link? , in my situtation it may b shared point or blob.Can you help me out, please .
- V-lianl-msft
Community Support
Hi dheer1610 ,
Please refer to this blog:
And note that Importing large .pbix files between 1 GB and 10 GB in size is only available for Premium capacity workspaces.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.