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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.