question

LixinYang-6198 avatar image
0 Votes"
LixinYang-6198 asked LixinYang-6198 commented

Failed to create public IP address

I tried to provision a public IP address on Azure.

I kept getting the following error without details even though I made multiple tries with different names and locations for the intended public IP.

   "statusCode": "Conflict",
   "statusMessage": {
     "status": "Failed",
     "error": {
       "code": "InternalServerError",
       "message": "An error occurred.",
       "details": []
     }
   },

At creation stage, the validation always succeeded. However, the deployment always failed.

Anybody experienced the same problem and worked out a solution? Your help will be highly appreciated!

azure-webapps-ip-addresses
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.

1 Answer

nhcloud avatar image
0 Votes"
nhcloud answered LixinYang-6198 commented

I assume you are using the ARM/Bicep template, make sure the name attribute is unique
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2020-11-01",
"name": "[variables('publicIPName')]", //This should be Unqiue

· 1
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.

Hi nhcloud,

It turns out I chose the "Global" tier and it caused the error. As stated by Microsoft, Global only applies to cross region load balancer.

I have changed that to "Regional" and the error disappeared.

Thanks

0 Votes 0 ·