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 unexpectedProvisioningState. - 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
- Authenticate to Azure and set the target subscription.
- Retrieve the ExpressRoute circuit into a variable and inspect its key properties.
- Reapply the circuit configuration using
Set-AzExpressRouteCircuit. - 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
Quick reference links
- ExpressRoute overview: https://learn.microsoft.com/azure/expressroute/expressroute-introduction
- Az PowerShell install: https://learn.microsoft.com/powershell/azure/install-az-ps
- Set-AzExpressRouteCircuit (cmdlet reference): https://learn.microsoft.com/powershell/module/az.network/set-azexpressroutecircuit
- Azure support: https://learn.microsoft.com/azure/azure-supportability/create-technical-support-request
- If the
Set-AzExpressRouteCircuitcommand 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.