Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi There,
To give a bit of background we currently use sharepoint document libraries to act as version control for our PBIX files. After uploading to here we then open and publish the report to the powerbi service. To be honest I often forget to do the first part of this, what I wanted to ask is is there a way of automating these two steps into one script? My first thought is using powershell and the rest api to publish(and replace a existing report more often then not) then move the file to a sharepoint location. Has anyone had any experience of doing this?
Also out of interest as a Power BI developer is it worth learning powershell if I'm not a admin or work in IT creating workspaces etc?
Thanks for your help,
Mark
Solved! Go to Solution.
You may want to consider the checkout/checkin feature of Sharepoint and leave your PBIX file there all the time (rather than re-uploading).
And yes, learning Powershell is definitely a good idea, even if only for local automation. Also look at the Power BI API documentation.
You may want to consider the checkout/checkin feature of Sharepoint and leave your PBIX file there all the time (rather than re-uploading).
And yes, learning Powershell is definitely a good idea, even if only for local automation. Also look at the Power BI API documentation.