Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Improve Report Deployment on Power BI Report Server

When deploying or migrating reports to a new Power BI Report Server, the server name in the pbix file does not get updated.   As a result, after deploying reports, each report must be opened manually in Power BI Desktop and the server name manually edited.   Otherwise, when a user selects 'Edit in Power BI Desktop' the report will still be point to the old server. 

 

Currently, every time we migrate to from Dev to Test to Stage to Prod we must tediously update the server names in each report.   And then we must do this again when we deliver to customer sites.    

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

The reports deployed to report server will use the same connection information for data source as in desktop. In your scenario, when you move the report from Dev to Test, please open the report in desktop within the Test environment and change data source points to the data source within Test environment, then publish the report to Test report server. 

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Qiuyun,

 

We can change the connection information on the report server but that does not change it in the .pbix file.  Even after changing the connection on the report server when we select "Edit in Power BI Desktop" the report that is opened is still pointing to the server from Dev.

 

What you suggest is true, "open the report in desktop within the Test environment and change data source points to the data source within Test environment, then publish the report to Test report server. "  However, this is an manual process, we have 25 semantic models and over 60 reports, doing this on each report is not a workable solution.   We need a way to automate the delivery of the reports and the updating of the connection information.    In addition, we are an ISV and we want to deliver our reports to 100s of client's and currently we need to update the connection information manaully for each customer.  Potentially,  100x60 = 6000 manually updates. 

Hi @Anonymous,

 

Please try the Set-RsRestItemDataSource method listed here: https://github.com/Microsoft/ReportingServicesTools

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.