when i try to create a route table it shows an error with the route table name

Kamlesh Choudhary 6 Reputation points
2020-07-27T06:32:39.547+00:00

i want ro create hub-spoke topology ,so i tried to create routetable but when i give the name to the route table it shows a red corss mark. It is not showing why this error is coming .please help..... 13871-screenshot-from-2020-07-27-11-13-20.png

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,503 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Jadbr 1 Reputation point
    2020-07-28T02:12:09.51+00:00

    Hi. Try to create using Azure Powershell. In my case it worked

    New-AzRouteTable -Name 'az1000402-rt1' -ResourceGroupName az1000402-RG -Location "east us2" -Verbose

    0 comments No comments

  2. GitaraniSharma-MSFT 49,581 Reputation points Microsoft Employee
    2020-07-28T02:19:00.2+00:00

    Hello @Kamlesh Choudhary ,

    While creating a route table and giving a name to it, please make sure that there is no space before or after the name. A space before or after the name will give you a red cross mark (as shown in your case) and wont allow you to proceed further. Also, the error normally suggests the below:
    Name must be less than 80 characters and start and end with a letter or number. You can use characters '-', '.', '_'.

    I replicated your issue by adding a space before and after the name (as shown in your screenshot) and you can see the same red cross mark:
    13928-routetable.jpg

    Please try again making sure there are no spaces and it should work.

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

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

    Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.


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.