Posts

Showing posts with the label SharePoint

Power Automate Pagination: How to Retrieve More Than 5000 Items from a SharePoint List

One of the common scenarios that you may encounter when using Power Automate is to retrieve data from a SharePoint list and perform some actions on it. However, if your SharePoint list has more than 5000 items, you may run into some challenges and limitations. In this blog, we will explain why this happens and how to overcome it using pagination. Why does Power Automate have a limit of 5000 items for SharePoint lists? The reason why Power Automate has a limit of 5000 items for SharePoint lists is because of the underlying SharePoint API that Power Automate uses to connect to SharePoint. SharePoint has a feature called list view threshold, which limits the number of items that can be returned in a single query to 5000 by default. This is to prevent performance issues and ensure optimal performance for all users. If you try to query more than 5000 items from a SharePoint list, you will get an error message like this: This error message will also appear in Power Automate if you use the Ge

SharePoint vs Dataverse as Data Source in the Power Platform

In the Power Platform universe, both SharePoint and Dataverse are significant players when it comes to data storage and management. But when should you use each of these as your data source? Let's delve into their pros and cons to get a clear picture. SharePoint Pros SharePoint is an excellent choice for document management and collaboration. It is already integrated with other Office 365 services, providing seamless interoperability. It's easier to set up and manage compared to Dataverse. It offers a user-friendly and intuitive interface for non-technical users. Cons SharePoint isn't designed for large-scale relational data storage. It may not provide the best performance for complex or large data scenarios. Its querying capabilities are limited compared to Dataverse.