Azure bastion Host getting created automatically after deleting the existing one

Ritesh Giri 0 Reputation points
2024-09-30T13:34:40.08+00:00

Hi, I have created an Azure bastion host as part for azure Virtual network deployment. Now I don't need this bastion host anymore and while deleting the bastion host, new bastion host is getting created with the same name. Could you please help me to delete the bastion host permanently

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.
268 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,575 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
481 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ganesh Patapati 2,590 Reputation points Microsoft Vendor
    2024-09-30T16:29:32.6433333+00:00

    Hi Ritesh Giri,

    Greetings!

    Welcome to the Q&A Platform for Microsoft! We appreciate you posing your query here.

    We understand from your query that you are experiencing an issue while trying to deleting the bastion host:

    • First let me know what the exact issue is you are getting can you please share the screenshot of the error you are facing and how is your bastion is getting created.

    NOTE: Please Check, is there any policy that is automatically created in the gateway. I suggest you to please check the Resource group "Activity logs".

    Please Try with Azure CLI: Delete an Azure Bastion host machine as per the below documentation.

    https://learn.microsoft.com/en-us/cli/azure/network/bastion?view=azure-cli-latest#az-network-bastion-delete-examples


    Looking forward to your response and appreciate your time on this.

    We are happy to assist you

    Regards,

    Ganesh

    0 comments No comments

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.