I created a Virtual Network Gateway this morning, but wasn't clear on the configuration, so decided to delete it and (eventually) start over. But, I don't seem to be able to delete it from either the portal or Powershell.
At some point while I was trying to clean it up, the resource has ended up in the "failed" provisioning state, but I can't find any information about why.
There are no connections associated with this gateway.
In the portal, the task to delete fails with this error message: The resource operation completed with terminal provisioning state 'Failed'.
Using Powershell, I get this:
> Remove-AzVirtualNetworkGateway -Verbose -Name "<redacted>" -ResourceGroupName "<redacted>"
VERBOSE: Performing the operation "Removing resource ..." on target "<redacted>".
Confirm
Are you sure you want to remove resource '<redacted>'
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y
Remove-AzVirtualNetworkGateway: Long running operation failed with status 'Failed'. Additional Info:'An error occurred.'StatusCode: 200
ReasonPhrase: OK
Status: Failed
ErrorCode: InternalServerError
ErrorMessage: An error occurred.
What am I doing wrong? I just need to delete this resource, but the error message provides absolutely no useful information.