The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
We create a profile and workspace for each customer. Then we import 10 reports and change the datasources to pull the correct customer data.
We have changed ReportX and we need to get this updated version into the workspace replacing the existing version.
How can I accomplish this using the REST api?
Hi @mmccarver ,
One possible way to accomplish this using the REST API is to use the Update Report Content In Group operation. This operation allows you to update the content of the specified report from the specified workspace with the content of a specified source report. You need to specify the source report in the request body, as well as the source type, which can be either ExistingReport or LocalFile.
This will replace the content of ReportX in workspace A with the content of ReportX in workspace B. You can also use a local file as the source report by specifying the sourceType as LocalFile and providing the file path and name in the sourceReport object.
Reports - Update Report Content In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Reports - Update Report Content - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Reports - REST API (Power BI Power BI REST APIs) | Microsoft Learn
How to Get Your Question Answered Quickly
If it does not help, please provide more details.
Best Regards
Community Support Team _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.