Hello, @Salini, Krovi !
Why isn't my scheduled purge task running correctly?
I reached out to the Azure Container Registry team and usually additional information is needed to troubleshoot these issues (specific error codes, resulting actions, etc.) however in reproducing this issue, the task failed to execute due to a syntax error near unexpected token `('. When the ' char was removed from the end, the task was successful.
You can troubleshoot the command by using
--dry-run to get a list of what will be purged.
I hope this has been helpful! Your feedback is important so please take a moment to accept answers.
If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!