Virtual network contains AzuerBastionSubnet yet can't create Bastion

Igor Meszaros 51 Reputation points
2022-01-06T12:28:02.233+00:00

I'm not sure if I'm doing something wrong or just this simply doesn't work.

So I have this error:
162856-create-bastion.jpg

My vnet address spaces:
162883-address-space.jpg

And my subnets:
162894-subnets.jpg

as far as I saw from all the tutorials it should be as simple as this. what's missing?

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
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 49,591 Reputation points Microsoft Employee
    2022-01-06T12:42:15.573+00:00

    Hello @Igor Meszaros ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    As mentioned in the error and the official doc, the Bastion host is deployed in the virtual network that contains the AzureBastionSubnet subnet that has a minimum /26 prefix.

    162911-image.png

    162839-image.png

    Refer : https://video2.skills-academy.com/en-us/azure/bastion/tutorial-create-host-portal#prerequisites

    So, once you change the AzureBastionSubnet prefix to 10.4.0.0/26, it will work.

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful

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.