File tracking and automated notification or pipeline trigger

Muruga Muthukrishnan 20 Reputation points
2023-03-20T09:08:17.5233333+00:00

Hi Team,

  We have requirement as below, 

Step 1: Files will be generated by third party vendor & mail notification will sent for file readiness.

Step 2: Manually a third-party software which will extract the file from source and place the file in Azure File Share which is mounted in Azure VM. This third-party s/w is in Azure VM.

Now we need to send notification when the file is not able to copy @step2 & we need to trigger the pipeline once the file is copied. Our understanding is there is a limitation currently that File Share can't be monitored/integrated in Triggers.

There is no any API to send event from VM to Event Grid, is there any services or approach to fulfill the above requirement.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,162 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,839 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 25,661 Reputation points Microsoft Employee
    2023-03-22T17:27:01.0066667+00:00

    Hi @Muruga Muthukrishnan ,

    You might be able to use the File system to monitor files on the Azure VM, assuming the file share is mounted as a data disk and not a mapped drive. But you would still need to poll the destination for the missing file(s). I'm not sure what third-party software you're using in your Azure VM but I would consider looking into that. If that software writes to an event log, then you could use Azure Monitor Agent to collect those events and configure an alert rule based on those events.