I am trying to copy files from Sharepoint to Azure data lake gen2 using Azure Synapse pipeline
I have set up the prerequisites and configured the pipeline as mentioned in the document (https://learn.microsoft.com/en-us/azure/data-factory/connector-sharepoint-online-list?tabs=data-factory#copy-file-from-sharepoint-online)
Web succeeds and passes a token to the Copy Data activity. However, I am getting the error in the sink side
Getting below error message
Not sure what is the issue? can anyone advise? I referred various posts but no success
Error – The remote server returned an error: (401) Unauthorized.
This error occurs because of authentication issue.
This operation requires SharePoint Online site owner permission. You can find the owner by going to the site home page -> click the "X members" in the right corner -> check who has the "Owner" role.
Also check
Even if an Azure AD application has FullControl permissions on SharePoint Online, you can't copy files from document libraries with IRM enabled.