I have some ARM templates for API Management APIs and operations that have worked without any issues before. Suddenly it stopped working even if I have not done any changes to my ARM Template. I get error message:
##[error]ValidationError: Operation references schema that does not exist.
I always export my API's ARM template using the tool APIManagementARMTemplateCreator.
I think maybe Microsoft has done some changes. Some APIs still work and some does not work. I have tried to understand the difference. One theory is that the APIs that doesn't work have schemas and the ones that work does not use schemas.
It's just a guess because of missing details in your question, but I think you are referencing a retired version in the ARM template:
API version retirements (September 2023)
Please try a newer version of Microsoft.ApiManagement service
e.g. version
2023-03-01-previewSample ARM: