An Azure service for ingesting, preparing, and transforming data at scale.
Hello Dwivedi, Upendra,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are asking how you can copy data from Network Share to landing when we have modified date before created date.
You do not need to tune the LastModified filter, make ADF copy decisions from a manifest-backed ledger. By replacing the LastModified-only watermark with a manifest and ingestion ledger pattern. Generate a manifest from the source network share, store each file’s relative path, file name, size, created time, and modified time, compare it against a durable ledger of previously copied files, then copy only new or changed files. Update the ledger only after the copy succeeds.
After implementing the manifest-ledger approach, files copied into the network share will no longer be skipped simply because their Modified Date is older than the previous pipeline run. The pipeline will detect them as new by file path/key and copy them safely into the landing zone. Use the below resource links for more reading and implementation steps:
- Copy data from/to a file system - https://learn.microsoft.com/en-us/azure/data-factory/connector-file-system
- Create and configure a self-hosted integration runtime - https://learn.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime
- Copy new and changed files by LastModifiedDate - https://learn.microsoft.com/en-us/azure/data-factory/solution-template-copy-new-files-last-modified-date
- Get Metadata activity in Azure Data Factory - https://learn.microsoft.com/en-us/azure/data-factory/control-flow-get-metadata-activity
I hope this is helpful. Please! Do not hesitate to let me know if you have any other questions, steps or clarifications.
Please do not close the thread by upvoting and accepting the answer if any part of it is helpful.