Share via

Logic App Get Emails (V3) only returning one email

WZIAFP 157 Reputation points
Oct 10, 2023, 1:57 PM

I'm putting together a logic app that will periodically check for emails from a specific system and process the attachments accordingly.

Everything is working as expected however, when i run the process, it only returns a single email (the last received) and ignores all other emails in the inbox (ive verified there is more than one email in the inbox). Below is the logic app and run. You can see from the for each output it states 1 of 1 where i would expect 1 of 10.

Yes I understand that i can use the trigger "When Email Arrives" however as the attachments need to processed together and so I must gather all attachments before proceeding.

Any ideas as to why the get emails v3 is not returning 10 results as expected?

User's image

User's image

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
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,821 Reputation points Microsoft Employee
    Oct 12, 2023, 4:05 AM

    Hello @WZIAFP - I'm unable to reproduce. I get all 10 emails with their corresponding attachments. I've used the Only with Attachments=True parameter as follows:User's image

    Are you testing with File Attachment or Item Attachment type? It looks like the Item Attachment type isn't supported: https://learn.microsoft.com/en-us/connectors/office365/#general-known-issues-and-limitations


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.