Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

New Member

Configure connection string for datasource in Power Bi Reports from Azure Devops

I have a deployment pipeline in azure devops where I can configure the connection string in the appsettings of my webapp for my development and production environment . I have used powerBi embed to integrate Power Bi Reports in my webapp. Is there a way to set what is the datasource for my reports based on the value in my appsettings file which is set in my deployment pipeline.

If I have the connection string variable refer to my development database, then the reports should also use development database as their datasource.

Community Support
Community Support

Hi @haddi ,

Please see if this document helps: Change data source connection strings with PowerShell - Power BI | Microsoft Docs


Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors