Email/Slack/Teams Alerts for any new resources created in Azure instance

NM 41 Reputation points
2021-03-23T07:54:27.613+00:00

Hello Experts,

Is there a way to get alerts on email/Slack or Teams Channel whenever a new resource is created in Azure ?
Please, suggest the best way of doing this.

Thanks,
NM

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,463 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kasper Siig 1 Reputation point
    2021-03-23T19:16:29.27+00:00

    I recommend doing this by using Azure Activity Log and then sending it to a Log Analytics workspace. From there are a few different ways you can do it, depending on what your goals are.

    If your goal just is to set something easy up, then I'd recommend setting up a Logic App. Logic Apps make it easy to read data from Log Analytics, and they have great integrations with both email and Slack. Haven't tried it with Teams.

    If you want to build an application to do this, where you have code instead of a UI, with version control and all else that comes with a "proper" application, then I'd recommend building an Azure Function. Then you can use the Azure SDK (this is available for a few different languages).


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.