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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bhavya5903
Advocate I
Advocate I

How to Migrate Data from SharePoint List to Warehouse Using Copy Data Activity in Microsoft Fabric

Hi Fabric Community,

I’m trying to migrate data from a SharePoint Online List to a Warehouse in Microsoft Fabric using Copy Data Activity in Data Factory. However, I’m not sure how to set up the connection to SharePoint Online.

Could someone guide me on the following:

  1. How to configure a connection to SharePoint Online in Microsoft Fabric?
  2. Which authentication method should I use (Service Principal, OAuth, or something else)?
  3. What permissions are required in Azure AD and SharePoint to allow data access?
  4. How do I select a specific SharePoint List as the source in Copy Data Activity?
  5. Any common issues or troubleshooting tips while setting up the connection?
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bhavya5903 

 

1. The following links provide more information about SharePoint connection issues:

 

Set up your SharePoint Online List connection - Microsoft Fabric | Microsoft Learn

 

2. 

Service Principal: This method is recommended for scenarios where you need to automate the connection without user interaction. Ensure that the Service Principal has the necessary permissions in Azure AD and SharePoint.


OAuth: This method is suitable for scenarios where user interaction is required for authentication. It is simpler to set up but may require re-authentication periodically.

 

3. 

Azure AD: Grant the Service Principal or user account the necessary API permissions.

 

SharePoint: Ensure that the Service Principal or user account has the appropriate permissions on the SharePoint site and list. This can be done through the SharePoint admin center or by using PowerShell commands.

 

Connect to Azure AD-secured APIs in SharePoint Framework solutions | Microsoft Learn

 

Upgrading SharePoint applications from Azure Access Control Service to Azure Active Directory | Micr...

 

4. Configure SharePoint Online List in a Copy activity:

 

Configure SharePoint Online List in a copy activity - Microsoft Fabric | Microsoft Learn

 

5. Common faults and troubleshooting:

 

Invalid Connection Credentials: Ensure that the credentials provided for the SharePoint source are correct. If using Service Principal, verify that the Service Principal has the necessary permissions.


Timeout Issues: Adjust the request timeout settings in the Advanced section of the Source tab to avoid timeout errors.

 

Regards,

Nono Chen

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

1 REPLY 1
Anonymous
Not applicable

Hi @bhavya5903 

 

1. The following links provide more information about SharePoint connection issues:

 

Set up your SharePoint Online List connection - Microsoft Fabric | Microsoft Learn

 

2. 

Service Principal: This method is recommended for scenarios where you need to automate the connection without user interaction. Ensure that the Service Principal has the necessary permissions in Azure AD and SharePoint.


OAuth: This method is suitable for scenarios where user interaction is required for authentication. It is simpler to set up but may require re-authentication periodically.

 

3. 

Azure AD: Grant the Service Principal or user account the necessary API permissions.

 

SharePoint: Ensure that the Service Principal or user account has the appropriate permissions on the SharePoint site and list. This can be done through the SharePoint admin center or by using PowerShell commands.

 

Connect to Azure AD-secured APIs in SharePoint Framework solutions | Microsoft Learn

 

Upgrading SharePoint applications from Azure Access Control Service to Azure Active Directory | Micr...

 

4. Configure SharePoint Online List in a Copy activity:

 

Configure SharePoint Online List in a copy activity - Microsoft Fabric | Microsoft Learn

 

5. Common faults and troubleshooting:

 

Invalid Connection Credentials: Ensure that the credentials provided for the SharePoint source are correct. If using Service Principal, verify that the Service Principal has the necessary permissions.


Timeout Issues: Adjust the request timeout settings in the Advanced section of the Source tab to avoid timeout errors.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.