Could you please check and provide the details for the following things in your project:
- Ensure that your CRON expression is in the correct format. Azure DevOps uses UTC time, so verify the scheduling accordingly. Could you please share your cron expression.
- The default branch for scheduled builds may not be correctly set (it should be either your selected branch or the main branch) Try updating it under Pipeline > Edit > Click on 3 dots -> Triggers > YAML tab -> Get Sources.
- Make sure to use the correct yaml file path -> Pipeline -> Edit -> Click on 3 dots -> Settings -> YAML file path. Update and save the changes.
- Sometimes, it should be related to the environment variables or conditional variables you have used in your YAML file, could you please check the file and make the changes. If possible, save it once without a variable and the desired triggers.
- If this issue persists even when everything is correctly configured. A workaround is to edit the pipeline, make a minor change (like adding a comment), and save it again.
Additional References:
- https://stackoverflow.com/questions/68819306/configuring-the-trigger-failed-edit-and-save-the-pipeline-again-with-no-notic
- https://stackoverflow.com/questions/64790091/azure-devops-pipeline-trigger-issue-message-not-going-away
- Configure schedules
Hope this helps!
Please Let me know if you have any queries.