Move-AzureRmExpressRouteCircuit doesn't parse -name
I can rename, or continue to use, an incorrect name for an ExpressRoute circuit when utlising the Move-AzureRmExpressRouteCircuit cmdlet.
for instance, this command would be valid - notice the spaces in the name: Move-AzureRmExpressRouteCircuit -Name "My Azure Circuit" -ResourceGroupName "exprtrg" -Location " Australia East" -ServiceKey 12343434-23232323-23232323
However, if I then try to update settings on the circuit once it is in ARM, I cannot as the -name is invalid, e.g. this will fail: Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $ckt
{ "error": { "code": "InvalidResourceName", "message": "Resource name My Azure Circuit is invalid. The name can be up to 80 characters long. It must begin with a word character, and it must end with a word character or with ''. The name may contain word characters or '.', '-', ''.", "details": [] } }
We currently have a support ticket open precisely due to this issue. The circuit stays up but becomes effectively unmanageable due to the invalid ARM EXR circuit name.
@deepakrajendranmsft can you route this issue appropriately to the ExpressRoute team?
@amitsriva please take a look at his
This is a known issue. There is no ETA yet for a fix.
@sjwaight can you please email me your support ticket # so I can track this issue?
thanks.
@vinayada1 @dedhar @dihan0604 Can you take a look at this issue?
Apologies for missing the (very) old comment @markjbrown :(.
Move-AzureRmExpressRouteCircuit no longer accepts name with spaces. It does the same checks as Set-AzureRmExpressRouteCircuit .