-1

Hi i want to create an Azure custom policy for vm by using bicep it should not create public ip and also follow naming convention.

i Have it in powershell but i am not able to convert it in Bicep.

I am expecting a bicep script to create Custom Policy which will not create public ip and follow the naming convention.

Peter Bons
  • 26,826
  • 4
  • 50
  • 74
  • 1
    Hi, welcome to StackOverflow! We are more than willing to help you out when you run in trouble but unfortunately we won't be writing your code. Please do understand we expect some attempts from your side. Then we will assist you when you have an actual issue. Here are some resources to get started: [Creating a custom Azure Policy](https://learn.microsoft.com/en-us/azure/governance/policy/tutorials/create-custom-policy-definition) and [Deploy a Policy using bicep](https://andrewmatveychuk.com/how-to-deploy-azure-policy-with-bicep/) – Peter Bons Aug 29 '23 at 11:58

0 Answers0