Using Console
Using CLI
<resource-id>
with the resource ID of the virtual machine scale set and <email-address>
with the email address of the administrator.Step 3: Verify the instance termination notification settings by running the following command:<resource-id>
with the resource ID of the virtual machine scale set.Step 4: Ensure that the “notifications” property in the output of the above command contains the email address of the administrator.With these steps, you have successfully remediated the misconfiguration “Enable Instance Termination Notifications For Virtual Machine Scale Sets” in Azure using Azure CLI.Using Python