Forum Discussion

Maruthi_Sharma's avatar
Maruthi_Sharma
New Member
1 year ago
Solved

Seeking Automated Solutions for Power BI Workspace Reports Synchronization and Backup

Hello Team, I am exploring solutions for managing multiple workspaces, each containing hundreds of reports published to them. Specifically, I am seeking a method to automatically sync or upload all ...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Maruthi_Sharma ,

    Thanks for posting in Microsoft Fabric Community.

    For automating the export and backup of PBIX from workspaces, there are some approaches that others have successfully implemented. One example is using Power Automate to schedule weekly exports of all reports from workspaces to SharePoint. The flow created folders for each workspace, retrieved workspace IDs via the Power BI API, listed the reports, and exported them using the API. Each exported file was saved in SharePoint for version history.

    More details are available in this thread: Automated export of PBIX and RDL files from worksp... - Microsoft Fabric Community.

     

    Another approach is to host PBIX files directly in SharePoint or a GitHub repository, which ensures version history for all changes. For automated exports, the Power BI REST API can be used, specifically the Export Report In Group API. This can be implemented via code (Python with simplepbi or other languages) or Power Automate using HTTP actions.

    Guidance for this is in this discussion: Solved: Re: How to Automate Export Power BI Report (.pbix)... - Microsoft Fabric Community

     

    Regarding tenant and admin settings, the account executing these automations must have at least Contributor access to the workspaces being exported and permissions to write to the target SharePoint or OneDrive location. At the tenant level, the settings under Export and Sharing, Admin API, and Integration should be enabled. These configurations ensure the automation can access, export, and store the reports without manual intervention.

        

     

    Both approaches allow version-controlled backups without manual downloads. You can choose Power Automate for a low-code approach or scripting with the REST API for more control.

     

    Hope this helps. Please reach out for further assistance.

    Thank you.