Sending Email After Create VM.

Iuri Santos da Silva 1 Reputation point
2022-02-09T21:39:15.51+00:00

Hello,

I want to know, it's possible to receive an email after create a VM in Azure. Sometimes, i open a Portal and see a lot of VM's that i won't created and i want to receive in my email, when that VM's are created.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,157 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
318 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ravi Kanth Koppala 3,231 Reputation points Microsoft Employee
    2022-02-10T03:16:23.443+00:00

    @Iuri Santos da Silva ,
    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    Using Azure monitor, we can enable your requirement of sending an email on VM creation. For that, you need to create a new alert rule to receive notifications when specific changes occur to resources in your Azure subscription. Alerts are often scoped to particular resource groups or resources. For example, you might want to be notified when any virtual machine in the sample resource group "myProductionResourceGroup" is deleted. Or, you might want to get notified if any new roles are assigned to a user in your subscription. For more information, please go through the below article.

    https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-activity-log

    Thanks.

    ----------

    Please "Accept as Answer" and Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.