How can I get the email notification when the SFTP service is active in Azure storage account via Logic app or any other way in Azure cloud?

Mytoast Admin 290 Reputation points
2024-08-03T13:03:42.6833333+00:00

How can I get the email notification when the SFTP service is active in Azure storage account via Logic app or any other way in Azure cloud?

Here is what I done: I have created storage account with SFTP enabled and I have also setup Azure automation account which does Enables and Disables the SFTP based on scheduled time using automation schedule.

Now, I want to get the email notification when the SFTP service is activated on Storage account and send that email to the group of people so those people who needs to work on their SFTP tasks for files upload, modify delete etc.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,136 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,234 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,934 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,221 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,262 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 4,685 Reputation points Microsoft Employee
    2024-08-08T19:49:26.7633333+00:00

    Hello @Mytoast Admin

    To get email notifications when the SFTP service is activated on your Azure storage account, you can use Azure Logic Apps.

    Here are the steps to create a Logic App that sends an email notification when the SFTP service is activated:

    1. Create a webhook in your Azure storage account that triggers when the SFTP service is activated. You can follow the instructions in this Microsoft documentation to create a webhook.
    2. Create a new Logic App in the Azure portal.
    3. Add a new trigger to the Logic App by selecting the "When a HTTP request is received" trigger.
    4. Add a new action to the Logic App by selecting the "Send an email" action.
    5. Configure the "Send an email" action to send an email to the group of people who need to work on their SFTP tasks. You can specify the email subject and body, as well as the recipient email addresses.
    6. Save and run the Logic App. When the SFTP service is activated on your Azure storage account, the webhook will trigger the Logic App, which will then send an email notification to the specified recipients.

    I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.


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.