Bakshi
Bakshi

Reputation: 11

Use Azure Logic App to Delete Old Files in Azure file share

Have an Azure Storage Account with a File Share for backup files. Want to keep 5 days of files in that file share and automatically delete anything older than 5 days.

Trying to use a Logic App to perform this task but using the value LastModified doesn't pull the LastModified date off of the file. I just get Null.

Upvotes: 1

Views: 1263

Answers (1)

Maryam Tavakkoli
Maryam Tavakkoli

Reputation: 45

Yes, that is a known problem and is mentioned here. Instead, you can get the "LastModified" form "Get File Metadata" for each "value" after you get "List Files".

Upvotes: 1

Related Questions