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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.