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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mak
Helper I
Helper I

PowerBi Embeded Moving from Dev to Porduction

Hi

 

I have tested my reports in Dev mode, now would like to move the .pbix files to Production ,  Will the following work

 

1. I import the Reports in PowerBi Embeded Production workspace

2. Go to Set the Connection Strings and 

    Enter the new Database Connection String and Credentails ??

 

or is there a better way to Move

2 ACCEPTED SOLUTIONS
TedPattison
Microsoft Employee
Microsoft Employee

First Question: Does your project have an imported dataset or does it use DirectQuery mode.

 

If your project is based on a DirectQuery mode dataset then you can proceeed as you suggest below using the .NET Power BI API to update the datase connection string and configure the credentials for database access.

 

However, if your project is based on an imported dataset is is critical to know one important fact. Power BI Embedded does not yet support server-side dataset refesh on imported datasets. That means you must update the PBIX file using Power BI Desktop and then overwrite the old PBIX import in the Azure workspace with the new version. The other big painpoint we have here is that there is no automated approach to regenerate a PBIX file with the most recent data. You have to fire up BI Desktop and build the PBIX file manually.

 

The Power BI team is well aware of these two painpoints. I know the Power BI embedded team is working hard to add refresh support and an automated process for building PBIX files. I am hopeful these issues will not exist much longer as the Power BI Embedded platform matures.

 

View solution in original post

My project is based on Direct Query mode, 

Glad, that it works with Connection Strings.. Thank you

View solution in original post

2 REPLIES 2
TedPattison
Microsoft Employee
Microsoft Employee

First Question: Does your project have an imported dataset or does it use DirectQuery mode.

 

If your project is based on a DirectQuery mode dataset then you can proceeed as you suggest below using the .NET Power BI API to update the datase connection string and configure the credentials for database access.

 

However, if your project is based on an imported dataset is is critical to know one important fact. Power BI Embedded does not yet support server-side dataset refesh on imported datasets. That means you must update the PBIX file using Power BI Desktop and then overwrite the old PBIX import in the Azure workspace with the new version. The other big painpoint we have here is that there is no automated approach to regenerate a PBIX file with the most recent data. You have to fire up BI Desktop and build the PBIX file manually.

 

The Power BI team is well aware of these two painpoints. I know the Power BI embedded team is working hard to add refresh support and an automated process for building PBIX files. I am hopeful these issues will not exist much longer as the Power BI Embedded platform matures.

 

My project is based on Direct Query mode, 

Glad, that it works with Connection Strings.. Thank you

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.