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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Syndicate_Admin
Administrator
Administrator

Dataflow Existing Connection Forcibly Closed

I have a Power Apps Dataflow to get information from Dynamics 365 Business Central that is using an OData connection.  It has automatic refreshes scheduled 5 times a day.  You would think a connection to another Microsoft platform within the same Microsoft 365 tenant would be stable, but it is not.  The dataflow is erratic.  For instance, it might fail at 8AM, be fine for 2 days and 9 syncs later, and then fail at 11AM on the 3rd day.

 

There are no other dataflows in the environment.  We have the data connection pointing to a development Business Central environment so little to no user interaction with Business Central environment.  We have the dataflow in a development Power Platform environment; again little to no user interaction.

 

Any ideas why a dataflow would be this erratic and fail sometimes, but not always?

1 REPLY 1
jennratten
Super User
Super User

Hello - 

You should not use the OData endpoint for big volumes since it's very slow. For such scenarios it's recommended to use BYODB (export the entity to your own Azure SQL and then point Power BI to read from this Azure SQL database).

Or you could try Incremental Refresh in Power BI Dataflows.

ODBC Error in Power BI – Connection forcibly closed by remote host • Acumatica OData with Microsoft ...

generally speaking, we do not expect to get a blazing fast data refresh performance over OData connections, the best solution is to migrate the data into an intermediary repository, such as Azure SQL Database or Azure Data Lake Store or even a simple Azure Storage Account, then connect from Power BI to that database.

Optimising OData Refresh Performance in Power Query for Power BI and Excel - BI Insight

Getting Web Services OData Error - "An existing connection was forcibly closed by the remote host" -...

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.