The API Management deployment fails with no apparent reason returning generic error:
Unable to activate API service at this time. This could be temporary issue in the region.
This happens in Government subscription, the API plan is consumption.
Here are some more details on the action and the error:
...
{
"statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"ActivationFailed\",\"message\":\"Unable to activate API service at this time. This could be temporary issue in the region. Please check https://aka.ms/azurestatus for any issues. If the issue persists after retry, please open a support case for your API management service using the Azure portal.Please provide correlationId c21ceb0d-fa2e-4ce7-9450-b85a4bf5f22e and TimeStamp 9/18/2024 2:17:44 PM.\"}]}}",
"eventCategory": "Administrative",
"entity": "/subscriptions/***/resourcegroups/***/providers/Microsoft.ApiManagement/service/***",
"message": "Microsoft.ApiManagement/service/write",
"hierarchy": "***"
"value": "Microsoft.ApiManagement/service/write",
"localizedValue": "Create or Update API Management Service instance"
}"operationName": {
"value": "Microsoft.ApiManagement/service/write",
"localizedValue": "Create or Update API Management Service instance"
}
...