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 September 15. Request your voucher.

Reply
nalmoukayed
New Member

How to copy excel files from Sharepoint into Lakehouse via Service Principal

Hi there,

 

I am trying to copy data from Sharepoint into a Lakehouse in Fabric using a registered app in Azure. I have been able to get data from a Sharepoint Online List, however I haven't had much success reading excel files located in specific directories. Please view screenshot below:

nalmoukayed_0-1725444841677.png

I have tried following the Microsoft guidance in registering a service prinicpal app Copy data from SharePoint Online List - Azure Data Factory & Azure Synapse | Microsoft Learn however, once the app is created via  https://<your-site-url>/_layouts/15/appinv.aspx it returns with a page that is requesting access to the designated sharepoint site.

nalmoukayed_1-1725445151819.png 


nalmoukayed_2-1725445211116.png

Any ideas how to resolve? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @nalmoukayed ,

First you need to make sure that the SharePoint credentials you are using in Data Factory are up to date. If the password has changed, update the credentials.
If you are using a data gateway, make sure the status of the gateway is “Online” and update the SharePoint source credentials in the gateway settings.

vyilongmsft_0-1725500164761.png

vyilongmsft_1-1725500195177.png

If that still doesn't work, I think you can try directly selecting the data source you want to connect to at Get Data.

 

 

 

Best Regards

Yilong Zhou

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 @nalmoukayed ,

First you need to make sure that the SharePoint credentials you are using in Data Factory are up to date. If the password has changed, update the credentials.
If you are using a data gateway, make sure the status of the gateway is “Online” and update the SharePoint source credentials in the gateway settings.

vyilongmsft_0-1725500164761.png

vyilongmsft_1-1725500195177.png

If that still doesn't work, I think you can try directly selecting the data source you want to connect to at Get Data.

 

 

 

Best Regards

Yilong Zhou

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

Helpful resources

Announcements
August Fabric Update Carousel

Fabric Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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