cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dixus
Advocate I
Advocate I

How to manually refresh a connection?

Hi,

adding or renaming a table used in a SQL Server connection forces me to wait about 10 minutes for the new table name to appear in the list (even entering the custom name doesn't work - anymore?).

Error executing the api '/v2/$metadata.json/datasets/..database.windows.net,Growth/tables/myNewTable'

In a process of refactoring and optimizing views and tables, this is a real problem. Is there a way to update this manually?

After about 10 minutes of waiting and reloading the flow editor, the new name appears.

 

Kind regards 

Holger

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @dixus,

 

The function to refresh the connection is not supported in Microsoft flow currently.

The only way to reconnect the connection is to recreate it.

 

If you would like this feature to refresh the connection to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-litu-msft
Community Support
Community Support

Hi @dixus,

 

There are some known issues and limitations when using SQL Server, and one of the limitations for these issues is “SQL native query is not supported for on-premises SQL Server”.

You can check doc here: https://docs.microsoft.com/en-us/connectors/sql/#execute_a_sql_query

 

If you rename or create a table by manually, but click the drop-down could not find the table name, you can save your Flow, and then reopen it.

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 


@v-litu-msft wrote:

Hi @dixus,

 

There are some known issues and limitations when using SQL Server, and one of the limitations for these issues is “SQL native query is not supported for on-premises SQL Server”.

You can check doc here: https://docs.microsoft.com/en-us/connectors/sql/#execute_a_sql_query

I am not using onpremise queries.

 

 

If you rename or create a table by manually, but click the drop-down could not find the table name, you can save your Flow, and then reopen it.

Well, that is what I described and what is not working. You have to wait 10-15 minutes until the change in the database definition is updated in flow, because Flow caches the table definitons in a dataset.

 

So my question was: how to force the refresh immediately.

 

Regards,
Holger

 

 

v-litu-msft
Community Support
Community Support

Hi @dixus,

 

The function to refresh the connection is not supported in Microsoft flow currently.

The only way to reconnect the connection is to recreate it.

 

If you would like this feature to refresh the connection to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

I am told that I do not have sufficient privileges to offer Flowideas, though I am logged in to this forum correctly.

 

If I have to do this manually, because Flow created issues with the current connector, will I have to rewire all re references, too? (I am about to find out, but I thought it might help the community to hear from you.)

 

Same here. What they have done with UserVoice is criminal... 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,319)