Search code examples
azureoffice365azure-logic-appsazure-logic-app-standard

How Does When a new email arrives in a shared mailbox (V2) Polling Internally Work


I am doing POC on 'When a new email arrives in a shared mailbox (V2)' polling feature in logic app to monitor the share mailbox. But i have some queries which i could not find resolution in any online portal.

  1. What is the internal functioning on this feature.
  2. How does it retrieve the emails which are added in the mailbox? Is it based on the unread mails or mails arrived after last polling time?
  3. If the last polling failed then will Logic app poll from previous run or only the current run.

Please help as I could not find any relevant discussion online on these topics.


Solution

    1. It uses the Microsoft Graph APIs internally
    2. It keeps track of the last successful poll and checks for new messages after that
    3. This is not done by the trigger on its own. You can set up retry policies to retry failures in actions.