cancel
Showing results for 
Search instead for 
Did you mean: 
ScottShearer

Why Don't I See All My SharePoint List Items?

If you use the SharePoint Get Items action in Flow to retrieve items from SharePoint lists, there are configuration changes that must be made to ensure that all list items are retrieved.  This is true even if you use an OData filter to limit the items returned.  Anyone creating Flows should be aware of this and other Flow limits.

 

Let's work through an example that demonstrates how Flow limits can impact the results of your Flows and why you need to be aware of them.

 

Assume that I have a business reason to copy items from one SharePoint list (Source List) to another list (Destination List).   The source list contains 500 items.  I use a button to trigger the item copy.  

 

Here is a screenshot of my Flow:

GetItems1.jpg

 

 

So, my Flow runs without error but there's a problem.  Only 100 items were created in the Destination list.

 

Here's why - the Get Items action defaults to retrieving a maximum of 100 records.  To retrieve more than 100 items,  go to the Get Items settings configuration screen.  Set pagination to "On" and set the Limit to a number that will ensure that all items will be retrieved.

 

GetItems2.jpgGetItems3.jpg

With the changes made above, my Flow now copies all 500 items

 

Let's change my example a bit.  Assume that the source list has 6000 entries that I'd like to copy to the destination list.  When I attempt to set the Get Items configuration to allow for 6000 items and save my Flow, I receive an error indicating that I can't set the maximum above 5000.  In addition, there is a hard limit of 5000 iterations in an Apply to Each loop.  There is no configuration change that can alter this behavior.

 

Anyone creating Flows should be aware of these and other Flow limits.  Additional Flow limits include:

  • Flows can run for a maximum of 30 days
  • Until loops have a maximum of 5000 iterations (but default to 60)
  • There is a maximum of 250 actions per Flow

Use this link for more information on Flow limits and configuration.

Comments
Anonymous

 

 

image.png

 

I have no problems paginate beyond 5000 rows, I also have no problems running apply to each for all 6690 rows.

 

So yes, there's still a limit, but I believe it is much higher now.

About the Author
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • Read more about me and my achievements at: https://ganeshsanapblogs.wordpress.com/about MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, MSFT Techcommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Founder of SKILLFUL SARDINE, a company focused on productivity and the Power Platform. You can find me on LinkedIn: https://linkedin.com/in/manueltgomes and twitter http://twitter.com/manueltgomes. I also write at https://www.manueltgomes.com, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy 🙂
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 15 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – https://kamdaryash.wordpress.com Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/