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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
bspiteri001
Frequent Visitor

PBIRS 404 Bad Request when trying to change Connection String from PowerBIReports(id)/DataSources ap

Hi we recently started a server changeover for an SQL which was hosting the PowerBI Report Server. We have migrated the database and the encryption key and everything was a success. However now we wanted to change the connection string to point to the new server. 

 

The reports are connected using the SQL Server connection and they are all in import mode. 

 

Due to the fact that we had lots of reports we thought of automating this process through the use of the API. So what we did is we used the API endpoint identified in the subject and get the result, then we used the result in the value key and pasted it in the body and used the patch. 

However we are getting an HTTP 400 Bad Request message. Can you please advise the reason for this? 

 

Thanks

1 REPLY 1
bspiteri001
Frequent Visitor

All the reports do not use parameter connections and therefore for us, we cannot update through parameter 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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