-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VM keeps auto stopping even after disabling or deleting AutoStop logic app #54
Comments
Hello, Can we verify if the VM has any associated alerts? If so, can we delete / disable them? If this does not work, can you share with us more details of the VM? |
The VM is a Standard D2ds v5 (2 vcpus, 8 GiB memory) created via AVD.
Where do I find these VM associated alerts? I eventually deleted and recreated the VMs automation group, and haven't yet configured auto stop. Knowing where and what to look for reguarding the associated alerts would be handy. |
That was really helpful. The auto stop alert was still there and enabled after I had deleted the start stop resource group. It is also did not seem to have updated or disabled even though I had tried disabling the auto stop logic app. Is this by design? |
Yes by design the alert will be created on your VMs which is outside of the Start/Stop resource group so even if you delete the Start/Stop RG, this will not going to delete the alert which is part of your VM resource. Also disabling/deleting the logic app is not going to take any effect to delete the alert as the logic app is just an orchestrator to call the function app which is responsible to create the alert based on the payload you have configured. So if you want to disable the alert then you can add the VM in the payload exclude list (refer our doc here for sample exclude list) in the logic app. |
If configuration in the Logic App is modified, are any settings there carried over to the alert rule? |
Yes new alert will be created on the VM (old alert will be deleted) whenever the logic app runs so if you change the value of any property (say AutoStop_Threshold : 10) in the auto stop payload then new alert will be created based on the updated value. |
The alert that I just deleted still had the original values from first configuration. Subsequent changes in the logic app never seemed to have been applied to the rule. I am closing this issue but will keep an eye out when I configure and enable the new auto stop functionality and verify if it is indeed updating. Thank for your assistance. |
Any ideas on how to troubleshoot this?
The text was updated successfully, but these errors were encountered: