I wrote a script in Power Automate to automatically delete files after X amount of days that the file was created. It deletes the files, but gives an error:
This is what my flow looks like:
the Expression i'm using is adddays(utcnow(),-3,'yyyy-MM-dd')