Hello Marty Scherr,
Thank you for posting your question in the Microsoft Q&A forum.
To address your challenge of importing the latest file from an Azure folder based on the file's date in Eastern Time (EST), you can use Azure Data Factory (ADF) to list files in the folder, sort them by their last modified timestamp, and then process the latest file. While ADF does not natively support sorting files by last modified timestamp in a descending order, you can achieve this by combining ADF with Azure Functions or a custom logic in a pipeline.
By combining the Get Metadata activity with Azure Functions or custom pipeline logic, you can sort files by their last modified timestamp and process the latest file. This approach addresses the time zone difference issue and ensures that the correct file is processed regardless of the upload time. If you prefer a serverless solution, Azure Functions is the recommended approach. Otherwise, you can implement custom logic within the pipeline using ADF activities.
Another way, if you prefer not to use Azure Functions, implement custom logic within the pipeline using ADF's ForEach and Set Variable activities. Initialize a variable to store the latest file name, iterate through the file list, and update the variable if a newer file is found.
You may refer below related documentation:
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-get-metadata-activity
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-for-each-activity
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.