question

87253356 avatar image
0 Votes"
87253356 asked kobulloc-MSFT edited

Vm shows as a resourse group

I can not add a VM 2 errors show 1\ cannot create more than 20 public IP addresses in this region 2\ error occurred when creating storage account for boot diagnostics. keep creating a VM with disabling boot diagnostics
and it show as a resources group not a VM

azure-virtual-machines
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

How are you creating your VM (portal, CLI, etc.)? Can you include a screenshot of what you are seeing?

0 Votes 0 ·

I created one VM in my account just and when i want to add a new one this shows106781-981c6982-efc5-4fdc-ab05-b45211857dbe.jpeg


0 Votes 0 ·

Can you check how many IP you have in the subscription?

Maybe you created VM in the past and you forgot to delete the IP service after you deleted the VM?

The error seems pretty clear: cannot create more than 20 public ip addresses for this subscription in this region

So you need to see how many ip addresses you already have

Click this link and check:
https://portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.Network%2FPublicIpAddresses

0 Votes 0 ·
Show more comments

1 Answer

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered kobulloc-MSFT edited

It sounds like you may have created too many resources without cleaning them up ("Cannot create more than 20 public IP addresses for this subscription in this region."). I would delete your resource group and start fresh.

Here I created a VM using CLI and PowerShell following this tutorial:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-cli


107932-image.png


In the Portal, you can see all of the resources that were created including the Public IP address:

107933-image.png


If you're having trouble completing this, let us know so we can help you troubleshoot this further.


Additional Reading:


image.png (81.8 KiB)
image.png (205.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.