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}/configConnect

Sahin Ozdemir 0 Reputation points
2026-11-24T09:19:18.72+00:00

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

  1. Is this a known issue on the API Management side, and is there an ETA for a fix?
  2. Is there a workaround to associate a workspace with a workspace gateway in the meantime?
  3. Is anyone else seeing this?
Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Sahin Ozdemir 0 Reputation points
    2026-11-24T09:23:17.67+00:00

    Thanks. The workaround via serveOn: workspaceAndDefault works technically, but it removes the isolation we need from a dedicated workspace gateway. Could someone from the API Management team confirm whether this is a known regression since 13 November 2026?

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-24T09:20:24.8866667+00:00

    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/configConnections PUT consistently returns an empty InternalServerError, 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:

    1. Remove or conditionally disable Microsoft.ApiManagement/gateways/configConnections in Bicep/Terraform.
    2. Deploy the APIM service, workspace, and other resources without that child resource.
    3. Send workspace API traffic to the APIM service’s default managed-gateway hostname.
    4. 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-id values 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 configConnections remains 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:

    1. Whether this is an active service incident or regression.
    2. Its regional and subscription scope.
    3. Whether an internal mitigation can be applied.
    4. 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

    1. [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
    2. Api Gateway Config Connection - Create Or Update - REST API (Azure API Management) | Microsoft Learn
    3. Create and manage a workspace in Azure API Management
    4. Federated API management with workspaces
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.