Hi Sourav,
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
When setting up a flow to copy files from SharePoint Online to Azure Data Lake Storage, you can go through two approaches, each with its own considerations.
1. Using Azure Data Factory (ADF)
Scheduling and File Arrival: If files can be delayed by up to 60 days, scheduling a regular ADF pipeline might not be efficient. Instead, you can use event-driven triggers or a combination of ADF with Azure Logic Apps to check for new files periodically and trigger the pipeline only when new files are detected.
For Reference:
https://video2.skills-academy.com/en-us/answers/questions/1513111/how-to-copy-folders-and-files-from-a-sharepoint-si
Licensing and Permissions:
Service Principal and Secret: You do not need additional licenses for using a service principal. However, the service principal will need specific API permissions in Azure Active Directory (AD) to access SharePoint Online. These permissions include Sites.Read.All for reading files from SharePoint.
Storage Account Permissions: You will need to grant the service principal access to the Azure Data Lake Storage account. The least privilege permission required would be Storage Blob DataContributor at the container or folder level. You can set these permissions in the Azure portal under the Access Control (IAM) section of your storage account.
2. Using Power Automate
Authentication:
Service Principal and Secret: Power Automate can use service principal authentication for both SharePoint Online and Azure Storage. You will need to register an app in Azure AD and grant it the necessary permissions for both services.
Licensing:
SharePoint and AD/Entra: No additional licenses are required beyond what you already have for SharePoint and Azure AD.
Depending on the complexity and volume of your flows, you might need a premium Power Automate license.
Triggering ADF from Power Automate: you can set up a Power Automate flow to trigger an ADF pipeline. This can be useful if you want to combine the flexibility of Power Automate with the powerful data integration capabilities of ADF.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you,
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.