An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Do not disable and re-enable the system-assigned identity as an initial repair; keep skipping the named-value PUT and open an Azure support request for an APIM resource-provider investigation because there is no documented non-destructive APIM identity re-sync operation.
What the evidence indicates
Your request matches the documented contract:
- For a Key Vault-backed named value,
identityClientIdmust be null or omitted to select the system-assigned identity. -
identityClientIdis populated only when selecting a user-assigned identity. - API version
2024-05-01supports this operation and contract. ^1^ - Developer tier supports managed identities, and an APIM system-assigned identity is represented by
type: SystemAssignedplusprincipalIdandtenantId. ^2^
Nothing in the published documentation identifies an stv2.1-specific named-value validation change. The combination of:
- an unchanged request succeeding before the service events,
- failure across two API versions,
- unchanged APIM identity and principal,
- successful runtime Key Vault refresh,
- successful identical deployments to other instances,
isolates the failure to this instance’s management-plane validation path rather than the Bicep schema, Key Vault RBAC, or runtime Key Vault connectivity. That is strong incident evidence, but only Microsoft can confirm whether a regional rollout or resource-provider change caused it.
Recommended next action
Create an Azure support request under API Management → Management operations/deployment and include:
- APIM resource ID, tier, region, and
platformVersion. - Last successful PUT: 2026-11-20 19:36 UTC.
- Service Upgrade events: 2026-11-21 04:18 and 05:05 UTC.
- First failure: 2026-11-21 12:13 UTC.
- Correlation/request IDs from at least one failed
2024-05-01PUT and one failed2023-09-01-previewPUT. - The sanitized request body and complete ARM error response.
- A GET showing
identity.type,principalId, andtenantId. - A GET of the named value showing
keyVault.lastStatus.code = Success. - The successful comparison-instance result and its platform version.
- A request to check:
- APIM resource-provider deployment history in East US,
- the instance’s internal system-identity binding,
- the two unexplained service-upgrade events,
- whether the instance can be repaired or re-stamped without identity recreation.
The Activity Log’s JSON view exposes the ARM correlationId; events sharing it belong to the same broader control-plane action. ^3^
Why identity toggling is risky here
A matching APIM Q&A reports that switching the system-assigned identity off and back on cleared this exact error in some temporary cases. ^4^ However, APIM documentation states that removing the identity deletes it from Microsoft Entra ID. Re-enabling it therefore creates a different principal, requiring all Key Vault and other downstream assignments to be recreated. ^2^
In this case, toggling also risks disrupting the currently successful runtime refresh. It should be used only if Microsoft Support explicitly recommends it or if you accept the identity replacement.
If that becomes necessary:
- Inventory every role assignment and Key Vault access policy for the current
principalId. - Check for APIM custom-domain certificates or other resources that depend on this identity; APIM can reject identity removal when a Key Vault-backed custom certificate is configured. ^2^
- Disable and re-enable the identity.
- Record the new
principalId. - Recreate every assignment for that new principal.
- Allow propagation, then test Key Vault runtime refresh before retrying the named-value PUT.
Do not repeatedly PUT the APIM service resource with the same SystemAssigned identity expecting a documented “rebind”: the documentation describes enabling or updating the identity, but does not state that an unchanged update refreshes an internal APIM binding. Continuing the deployment workaround is the safer option until the resource-provider state is examined.
References