cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
spathak04 Regular Visitor
Regular Visitor

Connection string report server

Hello,
How to change the connection string dynamically based on our environemnt like QA and prod 
Connection string.png

2 REPLIES 2
Jon-Heide Established Member
Established Member

Re: Connection string report server

Not currently, it is only editable within the PBI desktop client. Ability to change this in the server is on the roadmap to support in future versions. You *could* hack around this by calling the REST API to download the file and edit the file directly in script + republish. 

harikishant Regular Visitor
Regular Visitor

Re: Connection string report server

You can change the connection string at the ReportServer DB level by updating the entity - DataModelDataSource , which has the connection string in the encrypted format.

 

It's simple get the conn. string from this table that you want to update and replace the existing one with the new one. 

 

Cheers,

Hari T

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 57 members 1,200 guests
Please welcome our newest community members: