web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Emails (V3) is ret...
Power Automate
Suggested Answer

Get Emails (V3) is returning 250 records only (even with TOP 1000)

(0) ShareShare
ReportReport
Posted on by 67
Hi,
I've been using "Get Emails (V3)" on PowerAutomate.
I noticed whenever I add the "Search Query" information, it only resulted with 250 items only.
 
Search Query used: 
from:aaa@xyz.com OR from:bbb@xyz.com
 
 
 
When I removed the "Search Query" it returned 1000 items just fine.
 
I know the fact that it has more than 250 items in the designated folder, but it keeps returning 250 items when I use the "Search Query".
I have a feeling there is a bug with that...
 
Is anyone else experiencing the same?
Thanks
Categories:
I have the same question (4)
  • shetanshudharsharma Profile Picture
    154 on at

    The behavior you are seeing with the "Get Emails (V3)" action in Power Automate, where the "Search Query" filter limits the result to only 250 emails despite there being more in the folder, is due to the design limitation of the underlying Microsoft Graph API and the connector itself.

     

    Key points:

     

    • When using "Search Query" with the Get Emails (V3) connector, the maximum number of items returned is capped at 250 because the search API endpoint in Microsoft Graph limits the result set size for query operations.


    • Without "Search Query," the connector can return up to 1000 emails, as it uses the standard list messages endpoint without search filtering, which supports fetching more items.


    • This is not exactly a bug but a known limitation in the service and connector behavior.


    • To work around this limitation, you can consider:-

       

      • Breaking down your search query into smaller chunks (e.g., search by date ranges or other criteria) and running multiple flows to aggregate results.


      • Using the "Skip Count" and "Top Count" parameters for pagination when feasible, although these have limited support in the search context.


      • Using the Microsoft Graph HTTP action directly in Power Automate with more advanced paging to overcome this limit.


      •  

    •  
     

    Currently, the limitation is documented as part of the Graph API and Power Automate connector capabilities, so the 250-item cap with search filters is expected behavior.

     

    If this limitation significantly impacts your scenario, consider providing feedback to Microsoft to prioritize enhanced filtering and pagination support with large result sets in connectors.

    https://learn.microsoft.com/en-us/connectors/office365/




       
  • VictorIvanidze Profile Picture
    13,073 on at
    Just use a GRAPH request.
  • televisi Profile Picture
    67 on at
    @shetanshudharsharma Thanks for your reply.
    I tried to remove the "Search Query" field and use the UI as the filter, unfortunately, it still returning 250 records? even though I have put "Top" 1000
     
  • Suggested answer
    chiaraalina Profile Picture
    1,183 on at
    Hi  @televisi
     
    As @VictorIvanidze mentioned, use Send an HTTP request action:
     
    https://graph.microsoft.com/v1.0/me/mailFolders/deleteditems/messages?$ &$filter=(from/emailAddress/address eq 'aaa@xyz.com' or from/emailAddress/address eq 'bbb@xyz.com')&$top=1000
     
    Let me know if it works!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 507 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard