Hello @Mario Moraño Orviz (MM)
Thanks for using Q and A forum
To troubleshoot and resolve the issue of Azure VMs auto shutdown not sending emails, follow these steps:
Step 1: Verify Auto Shutdown Configuration
- Navigate to the Azure portal.
- Go to the "Virtual Machines" section.
- Select the VM in question.
- Click on "Operations" in the left-hand menu and then "Auto-shutdown."
- Ensure that the "Send notification before shutdown" option is enabled and that the correct email addresses are entered.
Step 2: Check Email Addresses
- Confirm that the email addresses entered are correct and active.
- Ensure there are no typos or formatting issues in the email addresses.
Step 3: Review Notification Settings
- Ensure that the notification settings are correctly configured to send emails.
- Check if there are any restrictions or filters on the email server that might block Azure notifications.
Step 4: Check Azure Activity Logs
- Go to "Monitor" in the Azure portal.
- Select "Activity Log" to see if there are any logs related to the auto shutdown.
- Look for any errors or warnings that might indicate why emails are not being sent.
Step 5: Test Email Notifications
- Temporarily change the email address to a different one to see if the issue persists.
- Consider using a personal email to rule out any organizational email restrictions.
Step 6: Contact Azure Support
- If the issue persists after verifying all settings, contact Azure Support for further assistance.
Final Answer
Ensure the "Send notification before shutdown" option is enabled with correct email addresses. Check Azure Activity Logs for errors and test with different emails. Contact Azure Support if the issue persists.
If this answers your query, do click Accept Answer
and Up-Vote for the same. And, if you have any further query do let us know.