Search code examples
azurecloudazure-rm-templateazure-cloud-services

Display error in UI of azure while entering parameter for ARM template


I want to display a dynamic error that shows up when a wrong name for storage account is entered(that does not follow Azure naming conventions) while deploying an ARM template. Right now i am taking input from user as parameter but no error message shows up. Is there a way to achieve this. Azure has this feature as shown in the image below when we create a storage account but i dont know how to implement this using ARM template.

Azure error when wrong storageaccount name is entered


Solution

  • I am afraid that this feature is not available for now in ARM Templates.

    Please look at these feedback:

    1. ARM template parameter validation

    2. Resource Group Template parameter validation