Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Get Emails V3 Action is failed

(0) ShareShare
ReportReport
Posted on by

I have the emails with attachment in my shared mailbox but the output it shows as [ ] empty when i ran the flow

If i removed the attachments and tried to re run the flow as well showing the same output [ ]

1) with attachment

Priyanka03_0-1667500502713.png

2) without attachment

Priyanka03_1-1667501114618.png

For both it showing the same result. Can someone please help me?

 

  • Pstork1 Profile Picture
    66,968 Most Valuable Professional on at
    Re: Get Emails V3 Action is failed

    If the fetch only unread messages is "Yes" then it won't retrieve any emails that have been marked as "Read".  I suspect that is why you are getting an empty array in your Get emails.  You want that set to "No" as it is in my screenshot to get all the emails.  The default is "Yes".

  • Priyanka03 Profile Picture
    on at
    Re: Get Emails V3 Action is failed

    should we change the fetch unread message as 'YES' since its shared mailbox accidently the other person can read the emails . How does it work ? thanks in advance

  • Priyanka03 Profile Picture
    on at
    Re: Get Emails V3 Action is failed

    yes its shared mailbox inbox

  • Verified answer
    Pstork1 Profile Picture
    66,968 Most Valuable Professional on at
    Re: Get Emails V3 Action is failed

    Please check the configuration of the Get Emails V3 step to make sure that you've changed the default setting for whether it Fetches unread emails only.  By default it is set to filter out any emails that have already been read.  I built a sample of your flow and it works fine for me after I make that change.

    image.png

  • VictorIvanidze Profile Picture
    12,484 on at
    Re: Get Emails V3 Action is failed

    Are you sure you have selected the Inbox of the shared mailbox, but not your personal one?

  • Priyanka03 Profile Picture
    on at
    Re: Get Emails V3 Action is failed

    i removed from and tried also not working

  • VictorIvanidze Profile Picture
    12,484 on at
    Re: Get Emails V3 Action is failed

    Could you please confirm that both From and Original Email address fields contain the same address?

    If so, why did you do that?

  • Priyanka03 Profile Picture
    on at
    Re: Get Emails V3 Action is failed

    Good Morning!

     

    I really need help to complete my workflow as i already tried in different ways but this action is not working. I sent an email without attachment for checking and the subject filter which i used it. Here the apply to each should work and it should go to No branch as the attachment is failed instead of YES statement . Below is the output.

    Priyanka03_0-1667913185677.png

    Priyanka03_1-1667913344953.png

     

    Priyanka03_2-1667913392666.png

    The apply to each is not going for No statement it always goes to YES. Requesting to help in this scenario to  build the flows.

    Thanks in advance.

     

  • Priyanka03 Profile Picture
    on at
    Re: Get Emails V3 Action is failed

    Priyanka03_0-1667502336156.png

    I have only 2 emails in my shared mailbox which i tested with attachment and without but getting the same output.Thanks.

  • Pstork1 Profile Picture
    66,968 Most Valuable Professional on at
    Re: Get Emails V3 Action is failed

    I believe the issue is a limitation on the query capabilites built into the action.  The following is a quote from the documentation.

    Please note that filtering related to these fields: To, Cc, To Or Cc, From, Importance, Fetch Only With Attachments, Subject Filter, is performed using first 250 items in a given mail folder. To avoid that limitation you can use 'Search Query' field.

    I think you'll need to create and use the Search Query field instead of the built in fields.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492