Is it possible to create alerts whenever the new VM was created.

Thangamani R 0 Reputation points
2023-07-05T13:36:44.8133333+00:00

I need to know, is there any method to get alert whenever the VM has been created by one of the users with contributor permissions in particular resource group?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-07-05T16:37:35.4733333+00:00

    You can use the Azure Activity Log data source as the starting point for this requirement. It logs when things change on the Azure Control Plane.

    I'd start by enabling it to log to a Log Analytics workspace then you can start crafting a query that represents your specific requirement. (VM deployment)

    Once you've created the query, then create a Log Alert Rule.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.