question

Jeff-5482 avatar image
0 Votes"
Jeff-5482 asked ChaitanyaNaykodiMSFT-9638 answered

Logic App's Outlook "new email" V3 trigger is evaluating without new emails

I have a Logic App that uses the Outlook connector's "When a new email arrives (V3)" trigger. The trigger's configuration is precise; it only looks for new emails in a specific folder with a specific sender and subject, and emails that have an attachment. When a new, matching email arrives, the trigger begins a Logic App instance as expected. In the trigger history, however, there seems to be some kind of polling behavior going on. The trigger is consistently evaluated and logged as either "Skipped" or "Succeeded" every hour, twice per hour. This happens even though no new emails are arriving in that folder.

The Logic App's run history correctly reflects the number of Logic App instances that have run. Those are expected. But why is the trigger evaluating (and charging me) when no new emails are arriving? The consistency of the evaluations (same time every hour) suggests this is a polling behavior. But I haven't seen documentation on the "When a new email arrives (V3)" trigger that would explain this behavior.

81196-image.png


azure-logic-apps
image.png (20.0 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Jeff-5482, Thank you for reaching out. I am currently working on the issue faced, I will share my updates soon.

0 Votes 0 ·

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered

Hello @Jeff-5482, Thank you for your patience throughout this process. I got a response from the team internally.
As mentioned in the documentation the webhook trigger was deprecated. The new trigger utilizes smart polling mechanism which uses webhook as a way to notify changes and then uses polling to get the changes. This way the trigger is more reliable as it combines the benefits of both. The way the smart polling triggers work, is that it uses webhook notification as a way to notify changes. If there are no changes in some interval, it will poll the backend service to ensure that there are indeed no changes missed due to network issue or any service outages. The interval currently is set to run twice in an hour and it cannot be changed.
I hope this helps in answering the issue faced above. Please let me know if there are any additional concerns. Thank you!


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.