An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Temporarily route the workspace through the Premium v2 instance’s default managed gateway and omit the failing gateways/configConnections resource from deployments; there is no documented alternative that creates the same standalone workspace-gateway association while that control-plane operation is returning HTTP 500.
Current status
- The exact regression is publicly tracked:
gateways/configConnectionsPUTconsistently returns an emptyInternalServerError, while ARM retries prevent deployment completion.^1^ - This is currently a customer-reported issue, not a published API Management service incident or known-issues notice.
- No public Microsoft ETA, rollout date, or confirmed workaround for creating the standalone association is available in the referenced material.
- Other users are seeing the same operation fail, including the report represented by that GitHub issue. The Terraform acceptance-test failure is further corroborating evidence, but Microsoft must confirm the service-side cause.
Your payload matches the documented contract: sourceId identifies the workspace and hostnames is an optional array. The operation is documented as long-running and should return 200 or 201; an empty HTTP 500 is not a documented validation response.^2^
Because the same failure occurs across clients, API versions, regions, networking modes, and fresh resources, repeating those configuration changes is unlikely to provide additional diagnostic value.
Temporary supported alternative for Premium v2
Premium v2 can associate a workspace with the API Management service’s default managed gateway through the Workspace Create or Update REST API. Traffic then uses the service’s default hostname rather than the separately deployed workspace gateway.^3^
Update the existing workspace with serveOn: workspaceAndDefault:
PUT https://management.azure.com/subscriptions/[Subscription ID]/resourceGroups/[Resource Group] Group]/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}?api-version=2024-05-01
Authorization: Bearer {token}
Content-Type: application/json
{
"properties": {
"displayName": "{existingDisplayName}",
"serveOn": "workspaceAndDefault"
}
}
Preserve any other existing workspace properties required by your deployment. Then:
- Remove or conditionally disable
Microsoft.ApiManagement/gateways/configConnectionsin Bicep/Terraform. - Deploy the APIM service, workspace, and other resources without that child resource.
- Send workspace API traffic to the APIM service’s default managed-gateway hostname.
- Re-enable the standalone association only after Microsoft confirms recovery.
This is a continuity workaround, not an equivalent replacement: the default gateway shares the service’s capacity and configuration, whereas a workspace gateway provides independent runtime, scaling, hostname, and network configuration.^4^
Escalation
Open an Azure support request under API Management → Workspaces or API Management APIs returning Other Errors (400, 500, 503, etc.) and include:
- The four
x-ms-request-idvalues and exact UTC timestamps. - Subscription and resource IDs in the secure support-ticket fields.
- Region, APIM SKU, and gateway SKU.
- The minimal request and empty 500 response.
- Confirmation that the gateway reaches
provisioningState: Succeeded. - Confirmation that
configConnectionsremains empty. - The first known failure date and the successful/unsuccessful deployment history.
- The linked GitHub issue and Terraform acceptance-test regression.
Ask support to correlate the request IDs against the API Management resource-provider backend and confirm:
- Whether this is an active service incident or regression.
- Its regional and subscription scope.
- Whether an internal mitigation can be applied.
- The expected remediation timeline.
Do not delete the successfully deployed gateway solely to retry the association; the testing already shows that recreating gateways and changing networking modes does not bypass the failure.
References
- [API Management] gateways/configConnections PUT returns HTTP 500 InternalServerError for every workspace / gateway combination (Norway East, Nov 2026) · Issue #48306 · Azure/azure-rest-api-specs · GitHub
- Api Gateway Config Connection - Create Or Update - REST API (Azure API Management) | Microsoft Learn
- Create and manage a workspace in Azure API Management
- Federated API management with workspaces