Since around 13 November 2026, I can't associate an API Management workspace with a workspace gateway. The gateway itself deploys fine; only the association fails.
What fails
The PUT on Microsoft.ApiManagement/gateways/{gatewayName}/configConnections/{name} returns HTTP 500 with an empty error body:
{"error":{"code":"InternalServerError","subCode":null,"message":null,"details":null,"innerError":null}}
The request body is minimal:
{
"properties": {
"sourceId": "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ApiManagement/service/<apim>/workspaces/<workspace>",
"hostnames": []
}
}
Afterwards, listing configConnections on the gateway returns an empty array. In a Bicep/ARM deployment, the configConnections resource keeps retrying and the deployment never completes.
Setup
- API Management Premium v2, VNet injection (
virtualNetworkType: Internal). Deployment succeeds.
- Workspace (created successfully)
- Workspace gateway, SKU
WorkspaceGatewayPremium, capacity 1, virtualNetworkType: Internal, in its own subnet delegated to Microsoft.Web/hostingEnvironments. Deployment succeeds (provisioningState: Succeeded).
- Region: Norway East
What I tried (all return the same 500)
- Bicep/ARM, Azure CLI (
az rest) and the Azure portal
- API versions 2024-05-01, 2024-06-01-preview, 2025-09-01-preview and several others
- An internal (VNet-injected) and a public workspace gateway
- An API Management instance with and without VNet injection
- Norway East and West Europe
- With and without
hostnames in the body; different workspaces and gateways
- Fresh deployments on 17, 18, 19, 20, 23 and 24 November 2026: the result is identical each time
The Terraform provider's acceptance tests for this resource (azurerm_api_management_gateway_config_connection, PR hashicorp/terraform-provider-azurerm#30480) also newly failed on 13 November 2026. Those tests use classic Premium without any VNet, which suggests a service-side issue rather than a configuration problem.
Request IDs from the latest test (24 November 2026, Norway East)
| Time (UTC) | API version | x-ms-request-id |
|---|---|---|
| 07:46 | 2025-09-01-preview | a5d15815-2c3c-4e1e-acd6-cc631f02d5cb |
| 07:48 | 2024-05-01 | 58b457c2-5d68-494e-8f84-0545bdb3b7e9 |
| 07:49 | 2024-06-01-preview | 9a880b13-1317-42f5-a385-aa999e69a20d |
| 07:51 | 2025-09-01-preview | f0af80ac-eb77-45ad-8f10-3e0880155454 |
GitHub issue: https://github.com/Azure/azure-rest-api-specs/issues/48306
Questions
- Is this a known issue on the API Management side, and is there an ETA for a fix?
- Is there a workaround to associate a workspace with a workspace gateway in the meantime?
- Is anyone else seeing this?