Forum Discussion
Scheduled refresh and Manual refresh Error
Hi i hope someone can help me to fix the issue regarding the refresh on my report,
This report has been running for a year now suddenly 3 days ago errors keeps popping out.
Thanks
| Data source error: | DataSource.Error: OData: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.. Microsoft.Data.Mashup.ValueError.DataSourceKind = Dynamics365BusinessCentral. DataSourcePath = Dynamics365BusinessCentral. . The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action. | |||||||||||||||||||||||||||||||||||
| Cluster URI: | ||||||||||||||||||||||||||||||||||||
| Activity ID: | ||||||||||||||||||||||||||||||||||||
| Request ID: | ||||||||||||||||||||||||||||||||||||
| Time: | 2026-10-09 16:30:35Z | |||||||||||||||||||||||||||||||||||
| Details |
|
Hi Saldy123
Business Central is closing connection mid refresh usually from throttling or timeouts on large tables. So you can start by checking admin center and Microsoft 365 service health for an outage then reduce load by filtering rows early in Power Query then removing unused columns and tables and avoiding unwanted heavy tables refreshing at once. Re enter your credentials under dataset's settings - Data source credentials and if you use a gateway then update it to latest version. Test refresh in Power BI Desktop so if it fails there too then the problem is in query or business central, and if it works then it's the service or gateway. If it keeps failing you can raise a Microsoft support ticket with the Activity ID and Request ID from error - https://support.fabric.microsoft.com/
9 Replies
- pallavi_r
Super User
Hi Saldy123
Please see if these points help you in diagnosing this issue.
1. Check which query is failing. In Power BI Desktop, go to Transform data and test the Business Central queries individually using Refresh Preview. If one looks problematic, try applying a temporary date filter and removing columns you don't need to see whether reducing the data volume makes a difference.
2. Check the Business Central side. Since the refresh is failing repeatedly after around 1.5–2 minutes, check the server logs or available telemetry around those times for terminated requests, timeouts or resource issues. If it's an on-premises setup, also check CPU and memory usage.
3. Compare Desktop and Service. Try a full refresh in Desktop and compare it with the Service refresh history. If Desktop works but the Service fails, I'd look at the gateway and service connectivity. If both fail, I'd focus first on the query and source endpoint.
4. Look at the OData endpoint. If you're using an OData web service, check whether a suitable Business Central API is available. Microsoft recommends APIs over OData web services for supported Business Central Online integrations because of their performance and stability benefits. If the query involves a large volume of data, optimizing the query or staging the data before loading it into the semantic model may also help.
Microsoft also documents this error in the context of transient Dataflow refresh failures, so a retry is worth trying. https://learn.microsoft.com/en-us/dynamics365/business-central/admin-powerbi-setup#exposedata
If this post helps, please accept this as a solution. Appreciate your kudos.
Regards,
Pallavi
- Saldy123New Member
Hi Pallavi,
Thank you for the detailed suggestions. Here's what I've checked so far:
1. Check which query is failing: I have multiple queries from Business Central, and all of them refresh successfully in Power Query Preview. The issue appears to occur during the full refresh rather than during preview.
2. Check the Business Central side: I only have access to Power BI and the Business Central interface, so I don't have direct access to server logs or telemetry to check for timeouts or resource issues.
3. Compare Desktop and Service: The full refresh completes successfully in Power BI Desktop, but the scheduled refresh in Power BI Service repeatedly fails. This suggests the issue may be related to the Service refresh environment or its connectivity to Business Central.
4. Look at the OData endpoint: I'm using the standard Business Central API endpoint rather than an OData web service endpoint.
Given these findings, do you have any further recommendations for troubleshooting the Power BI Service refresh failure? Since Desktop refresh works successfully, I'd like to identify what might be causing the Service refresh to fail repeatedly.
Thank you again for your help!
Kind Regards,
Saldy - Saldy123New Member
Hi Pallavi,
Thank you for the detailed suggestions. Here's what I've checked so far:
1. Check which query is failing: I have multiple queries from Business Central, and all of them refresh successfully in Power Query Preview. The issue appears to occur during the full refresh rather than during preview.
2. Check the Business Central side: I only have access to Power BI and the Business Central interface, so I cannot access server logs or telemetry to check for timeouts or resource issues.
3. Compare Desktop and Service: The full refresh completes successfully in Power BI Desktop, but the scheduled refresh in Power BI Service repeatedly fails. This suggests the issue may be related to the Service refresh environment or its connectivity to Business Central.
4. Look at the endpoint: I'm using the standard Business Central API endpoint rather than an OData web service endpoint.
Given these findings, do you have any further recommendations for troubleshooting the Power BI Service refresh failure?
Thank you again for your help!
Regards,
Saldy
- pallavi_r
Super User
Hi Saldy123
Since this has been working for about a year and the full refresh still succeeds in Desktop, we need to understand what changed on the Service side rather than assume the data volume is the problem.
We can check the Business Central Admin Center and Microsoft 365 service health for any incidents or updates around the time the issue started.
Also publish a copy with a temporary date filter to a test workspace and try refreshing it in the Service. If that works, it may point towards data volume or request duration. If it fails in the same way even with much less data, then it is Service-side connection or refresh behaviour.
Are other reports connected to the same Business Central environment refreshing successfully in the Service? That would help us narrow down whether this is specific to this model or something affecting the wider environment.
If none of these checks gives a clear answer, raise a Microsoft support ticket with the failed refresh’s Activity ID, Request ID and UTC timestamp, especially since the issue started suddenly after a long period of successful refreshes.
If this post helps, please accept this as a solution. Appreciate your kudos.
Thanks,
Pallavi
- jubinsoni
Solution Sage
Hi Saldy123,
I think the key point is that this error comes from the connection to Business Central being dropped, and it usually means the request was too heavy or was cut off on the Business Central side. It is not a problem in the report itself, which is why it can start after a year of working fine.
The message says the remote host closed an existing connection after about 1 to 2 minutes. Business Central online applies limits to web service requests, such as request throttling and timeouts, and a table that has grown can cross those limits over time. The limits are listed in the Business Central operational limits
Since it started suddenly 3 days ago, it is also worth checking whether the Business Central environment was updated or had a service incident around that date. If other people are seeing the same error with the same connector, that points to the source and not to your refresh settings. The general refresh troubleshooting steps are in the Power BI refresh troubleshooting guide
So I would narrow it down in this order
1. Refresh the table in Power BI Desktop -> same error? -> source or query problem 2. Fewer rows or columns, or a date filter -> works? -> request size problem 3. Service health of the Business Central environment -> incident or update around the failure date? 4. Failing table only -> split it, or use incremental refresh Connection closed after 1-2 min -> request cut off -> not a report bugIf the same table also fails in Desktop, the Power Query step that loads it is the first place to reduce the load, for example by selecting only the columns you need and filtering the rows as early as possible. If Desktop works but the service fails, check the gateway or the credentials for the connector.
So I would first test the failing table alone with fewer rows, and compare the failure date with any Business Central update or incident. Please share what you find and mark a reply as the solution if it helps.
AI-assisted drafting: AI was used to help structure and phrase this response. I reviewed and validated the technical content before posting.
- Saldy123New Member
Hi Jubinsoni,
Thank you for the detailed explanation. Here's what I've checked so far:
- I refreshed each table individually in Power BI Desktop, and all of them completed successfully. The full model refresh also works in Desktop, while the scheduled refresh in Power BI Service continues to fail.
- I have already removed unnecessary columns to reduce the data volume, but the issue persists. I haven't tried applying a temporary date filter yet.
- I haven't checked the Business Central service health or update history yet. I'll look into whether there were any incidents or updates around the time the failures started.
- Some of my Business Central tables contain a large amount of historical data, so I'll investigate whether reducing the number of rows or using incremental refresh could help.
One important detail is that this setup has been running fine for about a year, with refreshes typically taking around 20 to 25 minutes. The issue only started recently, and the scheduled refresh in Power BI Service now fails after around 1.5 to 2 minutes, even though the full refresh still succeeds in Desktop.
Could this indicate a recent change or issue on the Business Central or Power BI Service side rather than simply the data volume?
Thanks again for your help!
- krishnakanth240
Super User
Hi Saldy123
Business Central is closing connection mid refresh usually from throttling or timeouts on large tables. So you can start by checking admin center and Microsoft 365 service health for an outage then reduce load by filtering rows early in Power Query then removing unused columns and tables and avoiding unwanted heavy tables refreshing at once. Re enter your credentials under dataset's settings - Data source credentials and if you use a gateway then update it to latest version. Test refresh in Power BI Desktop so if it fails there too then the problem is in query or business central, and if it works then it's the service or gateway. If it keeps failing you can raise a Microsoft support ticket with the Activity ID and Request ID from error - https://support.fabric.microsoft.com/
- v-sathmakuri
Community Support
Hi Saldy123 ,
Could you review the suggestion provided above and let us know if you have any additional questions, we are happy to address.
Thanks!!
- v-sathmakuri
Community Support
Hi Saldy123 ,
Could you check the suggestion provided above and let us know if you have any additional queries?
Thanks!!