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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
tjliushijun
Microsoft Employee
Microsoft Employee

Power BI Rest API - Update All Connections?

Hi, 

I'm using the API of "Update All Connections" to update one dataset's data source in Power BI's portal. This dataset is using direct query from a Azure SQL database. When I updated it to another Azure SQL DB, the dashboard failed.... So I want to know the limitation of this API. What kind of features should the both Azure SQL DB have, like same table name, same table schema, same database name?

 

Thanks,

Shijun

1 ACCEPTED SOLUTION

@Eric_Zhang

 

Hi, Eric

I've entered the credentials. However, I've solved this issue. I made a mistake that the table schema are not the same. When I reformed the table, the error disappeared. Thank you!

View solution in original post

5 REPLIES 5
Eric_Zhang
Microsoft Employee
Microsoft Employee

@tjliushijun

 

Regarding "Update All Connections", are you talking about the "Set All Connections"? If yes, After the connection strings updated, did you reset the credentials?

@Eric_Zhang

 

Hi, Eric

I've entered the credentials. However, I've solved this issue. I made a mistake that the table schema are not the same. When I reformed the table, the error disappeared. Thank you!

It worked for me but if I try to update the connection string frequntly I doesn't work. 

The first time I change it worked fine, then I tried changing after a minute. It didnt work but I didn't receive any error back, got a response status code OK. Again I tried after 5 mintues it worked.

 

Is there any limitation on the number of requests to be processed within a certain time frame?

@tjliushijun

 

Great to hear the problem got resolved. 🙂

Please accept the reply as solution to close this thread.

Hi, Eric I've entered the credentials. However, I've solved this issue. I made a mistake that the table schema are not the same. When I reformed the table, the error disappeared. Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.