How to copy data from a large SharePoint Online list in Azure Data Factory (ADF)?

asnth 0 Reputation points
2024-07-26T00:58:24.41+00:00

I am having trouble copying data from a large SharePoint Online list that has many records and columns in Azure Data Factory. I am unable to preview or copy the data, and I'm not sure if the issue is with the size of the list or the column types.

I've attempted to use the Query option to filter by modified date or select the Id column alone, but the operation times out. My Request timeout is set for 1 hour, but the data preview times out after a minute or so. I've successfully previewed and copied data with/without these queries from other lists on the site. Can anyone help? Thanks.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,845 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,828 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Pinaki Ghatak 4,610 Reputation points Microsoft Employee
    2024-07-26T10:59:48.0866667+00:00

    Hello @asnth

    There could be several reasons why you are unable to preview or copy the data, such as the size of the list, the column types, or the query you are using.

    To troubleshoot this issue, I recommend the following steps:

    1. Check the size of the list: If the list is very large, it may take a long time to preview or copy the data. You can try to limit the number of records returned by using the Query option to filter by modified date or select the Id column alone.
    2. Check the column types: If the list contains columns with complex data types, such as lookup columns or managed metadata columns, it may cause issues with the data preview or copy operation. You can try to exclude these columns from the copy operation or use a different data type mapping.
    3. Check the Request timeout: If the data preview times out after a minute or so, it may be due to the Request timeout setting. You can try to increase the Request timeout to a higher value, such as 2 hours, to see if it resolves the issue.
    4. Check the network connectivity: If the issue persists, it may be due to network connectivity issues between Azure Data Factory and SharePoint Online. You can try to test the network connectivity by using a different tool, such as PowerShell or SharePoint Online Management Shell, to see if you can access the list data. If none of these steps resolve the issue, you may need to contact Microsoft Support for further assistance. I hope this helps! Let me know if you have any other questions.

    I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.