How to copy data from Network Share to landing when we have modified date before created date

Dwivedi, Upendra 0 Reputation points
2026-07-18T14:13:35.36+00:00

Hi All,

We are encountering a challenge related to a known behavior of Microsoft file types such as TXT, CSV, Excel, and image files. When these files are copied and pasted, the Created Date gets updated while the Modified Date retains its original value.

In our data ingestion process, we compare the file's Modified Date with the last load date in the landing zone to identify new or updated files. Because the Modified Date remains unchanged after a copy-paste operation, some files are being missed during processing.

As a workaround, we considered using file metadata using get metadata activity and compare file modified date and created date with Last Load Date. However, due to a deeply nested folder structure and a large number of files, retrieving and processing metadata is significantly impacting performance.

Has anyone faced a similar scenario? If so, what approach or solution did you implement to reliably identify newly copied files while maintaining good performance?

Any suggestions or best practices would be greatly appreciated.

Thanks in advance.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Sina Salam 31,216 Reputation points Volunteer Moderator
    2026-07-24T14:37:34.5333333+00:00

    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:

    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.

    Was this answer helpful?

    0 comments No comments

  2. Srikanth Chavithina 265 Reputation points Microsoft External Staff Moderator
    2026-07-18T14:35:34.8+00:00

    Hi @Dwivedi, Upendra

    Thanks for sharing the details.

    What you're seeing is expected behavior. When a file is copied to a new location, the Created Date is updated, but the Modified Date usually stays the same. Since Azure Data Factory uses the Last Modified date for incremental file copy, files copied with an older Modified Date can be skipped.

    Currently, the File System connector supports filtering only by Last Modified. It doesn't support filtering by Created Date.

    Since using Get Metadata on a large number of files and nested folders can affect performance, one option is to keep a record of the files that have already been processed (for example, by storing their file name and path). Instead of checking only the Modified Date, you can compare new files against this record to identify files that haven't been processed yet.

    Could you also let us know:

    • Is your network share an on-premises file share accessed through a Self-hosted Integration Runtime (SHIR)?
    • Approximately how many files and folders are being scanned in each pipeline run?

    This information will help suggest the most suitable approach for your environment.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.