Remove-AzBastion : Long running operation failed with status 'Failed'. Additional Info:'An error occurred.'

Anil Sharma 0 Reputation points Microsoft Employee
2023-02-27T08:55:16.26+00:00
PS C:\> Remove-AzBastion -Name vnet-bastion -ResourceGroupName CreateVNetQS-RSG-ATST -Force -Verbose
VERBOSE: Performing the operation "Removing resource ..." on target "vnet-bastion".
Remove-AzBastion : Long running operation failed with status 'Failed'. Additional Info:'An error occurred.'
StatusCode: 200
ReasonPhrase:
Status: Failed
ErrorCode: InternalServerError
ErrorMessage: An error occurred.
At line:1 char:1
+ Remove-AzBastion -Name vnet-bastion -ResourceGroupName CreateVNetQS-R ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Remove-AzBastion], NetworkCloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Network.Bastion.RemoveAzBastionCommand
Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
262 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.