Hi @ABEL ANTON RODRIGUEZ Thanks for outlining the issue so clearly that helps a lot. Let’s go through the possible causes and what you can do to troubleshoot and improve reliability when pulling from SharePoint lists using Azure Data Factory (ADF).
What could be causing this error?
This error typically happens when SharePoint Online closes the connection unexpectedly and that can be due to:
- Throttling by SharePoint when too many or too large requests are made.
- Large or complex list structure, which can slow down responses.
- Timeouts or dropped connections, especially when payloads are heavy (e.g., attachments, lookup fields, or very large item sets).
Throttling is a common one SharePoint is pretty strict about protecting service health, especially with high-volume automated requests.
Docs reference: How to avoid getting throttled in SharePoint Online
Are there known limits with the ADF SharePoint Online connector?
Yes, there are a few things worth keeping in mind:
- Lists with more than 5000 items may require paging (ADF usually handles this, but not always cleanly).
- Some column types, like multi-select choice fields or complex lookups, don’t always behave well with the connector.
- Lists with a large number of columns (or system/hidden fields) can hit schema inference issues.
- Here’s the official connector doc that outlines some of these: SharePoint Online list connector in ADF
What can help improve reliability?
- Enable retry logic in your ADF copy activity something like 3 retries with a 30-second interval.
- Reduce parallelism if you're querying multiple lists at once. Hitting them all at once can trigger throttling.
- Use simpler views limit the number of columns and avoid complex filters. This lightens the payload.
- Paginate or filter large lists break up extraction by created/modified date range or ID.
- If you're hitting this consistently with specific lists, try querying them via Graph API or Postman to see if the issue reproduces outside ADF.
Any logs or diagnostics to check?
Yes, a few useful places:
- ADF Activity Run output – especially the error details and
ErrorCode
. - Azure Monitor or Log Analytics, if you’ve connected your ADF to it — can give better visibility into pipeline failures.
- Also, check the headers returned by SharePoint (if accessible) — they might show
Retry-After
or related hints when throttling is involved. - More on monitoring ADF: Monitor Azure Data Factory pipelines
Steps suggest moving forward:
- Narrow down the issue to those 4 lists – are they larger or structurallydifferent?
- Create custom views on those lists that simplify the structure — fewer columns, no lookups or rich text if possible.
- Update the copy activity with retries and reduce concurrency for those extractions.
- If the issue still happens, try querying one of the failing lists via Graph API or Postman this helps confirm if it’s a SharePoint-side issue.
- As a fallback, consider using an Azure Function or Logic App to pull data from the list using Graph, and then push it to ADF.
Hope this helps. If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.