Skip to content

[Network] Add ExpressRoute LAG authorizations and authorized circuit provisioning #34295

Open

Description

@mshrimankar10

Preconditions

  • No need to upgrade Python SDK or the Python SDK is ready.

The service team confirms that the Python SDK is ready.

Related command

Proposed new commands, subject to Azure CLI naming conventions:

az network express-route lag authorization create
az network express-route lag authorization show
az network express-route lag authorization list
az network express-route lag authorization delete
az network express-route lag authorization list-keys

Also affects:

az network express-route create
az network express-route lag show
az network express-route lag list

The base LAG command group and circuit-on-LAG support are tracked in #34292 and #34294.

Resource Provider

Microsoft.Network

Affected resource types:

  • Microsoft.Network/expressRouteLags/authorizations
  • Microsoft.Network/expressRouteLags
  • Microsoft.Network/expressRouteCircuits

Description of Feature or Work Requested

Please add Azure CLI support for ExpressRoute LAG authorizations and authorization-based circuit provisioning on a LAG, introduced in API version 2026-03-01.

The Swagger adds a LAG authorization child resource with create/update, get, list, delete, and explicit key-retrieval operations. It also adds an example of creating a circuit on a LAG using an authorization key.

Requested changes:

  1. Manage LAG authorization resources

    • Expose ExpressRouteLagAuthorizations_CreateOrUpdate, Get, List, and Delete.
    • Identify the subscription, resource group, parent LAG, and authorization name.
    • Support authorization creation with the example request body {"properties": {}}; the caller does not supply an authorization key or the read-only status properties.
    • Handle asynchronous create/update and delete operations using standard CLI long-running-operation behavior.
    • For create/update, honor the original-URI final-state behavior: the operation-status endpoint does not return the final authorization resource.
    • Handle pagination for authorization lists.
  2. Expose authorization status and association

    • Return the read-only properties authorizationUseStatus, circuitResourceUri, and provisioningState.
    • Support authorization use statuses Available and InUse.
    • Preserve the parent LAG's new properties.authorizations collection in resource output.
  3. Retrieve a LAG authorization key explicitly

    • Expose ExpressRouteLagAuthorizations_ListKeys through a dedicated action command.
    • Invoke POST on the authorization's /listKeys endpoint with no request body.
    • Return the ExpressRouteAuthorizationKey response containing authorizationKey.
    • Respect the shared response model's secret metadata and standard CLI secret-handling conventions, while allowing an authorized caller to explicitly retrieve the key.
    • Do not assume the key is part of the LAG authorization resource's create/show/list response model; key retrieval is a separate action.
    • This is key retrieval, not key regeneration or rotation.
  4. Create a circuit on a LAG using the authorization key

    • Ensure the circuit creation workflow accepts the authorization key and serializes it as properties.authorizationKey, together with properties.expressRouteLag.id.
    • Reuse the circuit authorization-key parameter if already available, rather than introducing a duplicate.
    • Support the accompanying bandwidthInGbps, enableDirectPortRateLimit, and SKU settings demonstrated in the Swagger example.
    • Preserve existing circuit provisioning workflows and service-side permission enforcement.

Minimum API Version Required

2026-03-01

This version introduces the LAG authorization resource, operations, use-status enum, and parent LAG authorizations collection. The circuit example reuses the existing circuit authorization-key property with the LAG reference.

Swagger PR link / SDK link

Request Example

The merged Swagger includes request and response examples for:

Expected workflow:

  1. Create an authorization under an existing LAG.
  2. Retrieve its key through the explicit listKeys action.
  3. Use the key and LAG resource ID when creating the circuit.
  4. Inspect the authorization's use status and associated circuit URI.

Authorization creation body:

{
  "properties": {}
}

Example circuit creation body, based on the Swagger example:

{
  "location": "<azure-region>",
  "properties": {
    "authorizationKey": "<authorization-key>",
    "bandwidthInGbps": 5,
    "enableDirectPortRateLimit": true,
    "expressRouteLag": {
      "id": "/subscriptions/<lag-subscription-id>/resourceGroups/<lag-resource-group>/providers/Microsoft.Network/expressRouteLags/<lag-name>"
    }
  },
  "sku": {
    "name": "Premium_MeteredData",
    "family": "MeteredData",
    "tier": "Premium"
  }
}

Target Date

2026-11-15

PM Contact

rmareddy@microsoft.com

Engineer Contact

mshrimankar@microsoft.com

Additional context

  • Requested placement: Azure CLI core network module, under the proposed ExpressRoute LAG authorization subgroup and existing circuit creation workflow.
  • Swagger status: Merged on October 6, 2026.
  • Service status: Preview and released, as confirmed by the service team.
  • Regional availability: All regions, as confirmed by the service team.
  • Prerequisite: An existing ExpressRoute LAG and appropriate service-side permissions to manage its authorizations and retrieve authorization keys.
  • Other prerequisites: Supported clouds and any subscription allowlisting or feature registration requirements have not yet been specified.
  • Related dependencies: [Network] Add Azure CLI support for ExpressRoute LAG resources #34292 covers base LAG resource management; [Network] Support ExpressRoute circuits on ExpressRoute LAG resources #34294 covers circuit provisioning on a LAG.
  • Related but distinct request: [Network] Add ExpressRoute circuit and port authorization key retrieval #34293 covers key retrieval for circuit and port authorizations. This request adds the corresponding capability for LAG authorizations alongside their management operations.

Activity

  1. yonzhan commented on Oct 28, 2026

    @yonzhan
    Collaborator

    Thank you for opening this issue, we will look into it.

  2. added
    customer-reported
    Network
    on Oct 28, 2026
  3. added
    Auto-Assign
    Azure CLI Team
    question
    on Oct 28, 2026
  4. removed
    question
    on Oct 28, 2026
  5. added this to the Backlog milestone on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Auto-AssignAzure CLI TeamNetworkact-quality-productivity-squadcustomer-reportedfeature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions