Skip to main content
This guide shows how to reset a failed or unknown Azure ExpressRoute circuit by reapplying its configuration with Azure PowerShell. Reapplying the circuit configuration can often resolve transient provisioning or state inconsistencies without recreating the resource. ExpressRoute reference: https://learn.microsoft.com/azure/expressroute/expressroute-introduction
Prerequisites: install and import the Az PowerShell module if you haven’t already. Use Install-Module -Name Az -Scope CurrentUser to install and Import-Module Az to load it. For installation details, see https://learn.microsoft.com/powershell/azure/install-az-ps.

When to use this procedure

  • The circuit shows Failed, Unknown, or an unexpected ProvisioningState.
  • You suspect a transient provisioning issue between Azure and the service provider.
  • You want to reapply the existing ExpressRoute configuration without deleting the circuit.

High-level steps

  1. Authenticate to Azure and set the target subscription.
  2. Retrieve the ExpressRoute circuit into a variable and inspect its key properties.
  3. Reapply the circuit configuration using Set-AzExpressRouteCircuit.
  4. Verify the circuit’s provisioning and provider provisioning states.

PowerShell example

Use the sequence below to sign in, capture the circuit, reapply its configuration, and confirm the result.

What to inspect after running the command

Check these properties to determine whether the issue was resolved or if the provider side still reports a problem: Always compare both ProvisioningState and ServiceProviderProvisioningState—a successful Azure-side state with a provider-side NotProvisioned or Failed usually indicates the issue is with the connectivity provider.
Resetting/reapplying an ExpressRoute configuration may cause a brief disruption in traffic. Ensure you have appropriate permissions (for example, Network Contributor or Owner) and perform this during an approved maintenance window when required. For built-in role details, see https://learn.microsoft.com/azure/role-based-access-control/built-in-roles.

Troubleshooting tips

  • Permission errors: Confirm your role assignments and that your account has access to the target subscription and resource group.
  • Persistent failed state: Inspect related resources such as peerings, authorizations, and provider-side status. Collect the circuit’s service key and provisioning details.
  • If provider-side issues persist, open a support request with Microsoft Azure and include the circuit service key and recent provisioning logs: https://learn.microsoft.com/azure/azure-supportability/create-technical-support-request
Notes:
  • If the Set-AzExpressRouteCircuit command does not progress, capture the cmdlet output and any error details for support.
  • Reapplying the configuration preserves the existing resource configuration while re-triggering Azure-side provisioning logic.

Watch Video