title: 'Reset a failed circuit - ExpressRoute: PowerShell: Azure | Microsoft Docs' description: This article helps you reset an ExpressRoute circuit that is in a failed state. services: expressroute author: duongau
ms.service: expressroute ms.topic: how-to ms.date: 01/07/2021 ms.author: duau ms.custom: seodec18
When an operation on an ExpressRoute circuit doesn't complete successfully, the circuit may go into a 'failed' state. This article will help you reset a failed Azure ExpressRoute circuit.
[!INCLUDE updated-for-az]
-
Install the latest version of the Azure Resource Manager PowerShell cmdlets. For more information, see Install and configure Azure PowerShell.
-
Open your PowerShell console with elevated privileges, and connect to your account. Use the following example to help you connect:
Connect-AzAccount
-
If you have multiple Azure subscriptions, check the subscriptions for the account.
Get-AzSubscription
-
Specify the subscription that you want to use.
Select-AzSubscription -SubscriptionName "Replace_with_your_subscription_name"
-
Run the following commands to reset a circuit that is in a failed state:
$ckt = Get-AzExpressRouteCircuit -Name "ExpressRouteARMCircuit" -ResourceGroupName "ExpressRouteResourceGroup" Set-AzExpressRouteCircuit -ExpressRouteCircuit $ckt
The circuit should now be healthy. Open a support ticket with Microsoft support if the circuit is still in a failed state.
Open a support ticket with Microsoft support if you're still experiencing issues.