Issue when creating Policy Definition for - Deploy Virtual Machine Auto Shutdown Schedule #1467
-
Hi All, I have an issue when creating a Policy Definition for - 'Deploy Virtual Machine Auto Shutdown Schedule'. I get the following error: "The policy '********************************' has defined parameters 'time,timeZoneId,EnableNotification,NotificationEmailRecipient,NotificationWebhookUrl' which are not used in the policy rule. Please either remove these parameters from the definition or ensure that they are used in the policy rule." Has anyone experienced this before? Any help greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
How are you trying to deploy that @paul-dooney-daa As this sounds like an escaping issue. Try copying the definition from the JSON section here: https://www.azadvertizer.net/azpolicyadvertizer/Deploy-Vm-autoShutdown.html and that should have the correct escaping 👍 |
Beta Was this translation helpful? Give feedback.
How are you trying to deploy that @paul-dooney-daa
As this sounds like an escaping issue.
Try copying the definition from the JSON section here: https://www.azadvertizer.net/azpolicyadvertizer/Deploy-Vm-autoShutdown.html and that should have the correct escaping 👍