You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Set up pagination to exceed the default page size limit for connector actions in Azure Logic Apps.
2
+
title: Exceed Page Size Limit for Items or Rows
3
+
description: Learn to set up pagination so you can get items or rows beyond the default page size limit for connector actions in workflows for Azure Logic Apps.
4
4
services: logic-apps
5
5
ms.suite: integration
6
-
ms.reviewer: estfan, azla
6
+
ms.reviewers: estfan, azla
7
7
ms.topic: how-to
8
-
ms.date: 01/04/2024
8
+
ms.date: 10/06/2025
9
+
#Customer intent: As an integration developer working with Azure Logic Apps workflows, I need to know how to set up pagination to get and manage large data results.
9
10
---
10
11
11
-
# Get more data, items, or records by using pagination in Azure Logic Apps
When you get data, items, or records by using a connector action in Azure Logic Apps, you might get result sets so large that the action doesn't return all the results at the same time. For example, the default page size for the SQL Server connector's **Get rows** action is 2048, but might vary based on other settings.
17
+
18
+
For some actions, the number of results might exceed the connector's default page size. In this case, the action returns only the first page of results.
19
+
20
+
Some actions let you turn on a *pagination* setting so that your logic app can retrieve more results up to the pagination limit. The action returns those results as a single message when the action finishes.
21
+
22
+
When you use pagination, you must specify a *threshold* value, which is the number of results you want the action to return. The action gets results until reaching your specified threshold. When your total number of items is less than the specified threshold, the action gets all the results.
23
+
24
+
Turning on the pagination setting retrieves pages of results based on a connector's page size. This behavior means that sometimes, you might get more results than your specified threshold. For example, when using the SQL Server **Get rows** action, which supports pagination setting:
25
+
26
+
- The action's default page size is 2048 records per page.
27
+
- Suppose you have 10,000 records and specify 5000 records as the minimum.
28
+
- Pagination gets pages of records, so to get at least the specified minimum, the action returns 6144 records (3 pages x 2048 records), not 5000 records.
29
+
30
+
Here's a list of some of the connectors where you can exceed the default page size for some actions:
31
+
32
+
-[Azure Blob Storage](/connectors/azureblob/)
33
+
-[Dynamics 365](/connectors/dynamicscrmonline/)
34
+
-[Excel](/connectors/excel/)
35
+
-[HTTP](../connectors/connectors-native-http.md)
36
+
-[IBM DB2](/connectors/db2/)
37
+
-[Microsoft Teams](/connectors/teams/)
38
+
-[Oracle Database](/connectors/oracle/)
39
+
-[Salesforce](/connectors/salesforce/)
40
+
-[SharePoint](/connectors/sharepointonline/)
41
+
-[SQL Server](/connectors/sql/)
53
42
54
43
## Prerequisites
55
44
56
-
* An Azure subscription. If you don't have an Azure subscription yet,
57
-
[sign up for a free Azure account](https://azure.microsoft.com/free/).
45
+
- An Azure subscription. If you don't have an Azure subscription yet, [sign up for a free Azure account](https://azure.microsoft.com/free/).
46
+
47
+
- The logic app resource, workflow, and connector action where you want to turn on pagination.
58
48
59
-
* The logic app and the action where you want to turn on pagination. For more information, see [Create an example Consumption logic app workflow in multi-tenant Azure Logic Apps](quickstart-create-example-consumption-workflow.md).
49
+
For more information, see the following articles:
50
+
51
+
-[Create a Consumption logic app workflow](quickstart-create-example-consumption-workflow.md)
52
+
-[Create a Standard logic app workflow](create-single-tenant-workflows-azure-portal.md)
60
53
61
54
## Turn on pagination
62
55
63
-
To determine whether an action supports pagination in the workflow designer,
64
-
check the action's settings for the **Pagination** setting. This example shows
65
-
how to turn on pagination in the SQL Server's **Get rows** action.
56
+
To determine whether an action supports pagination in the workflow designer, check the action's settings for the **Pagination** setting.
57
+
58
+
1. In the [Azure portal](https://portal.azure.com), open your logic app resource.
59
+
60
+
1. Based on the logic app type, follow the corresponding steps:
61
+
62
+
- Consumption: On the resource sidebar menu, under **Development Tools**, select the designer to open the workflow.
63
+
64
+
- Standard: On the resource sidebar menu, under **Workflows**, select **Workflows**. Select the workflow that you want to open the designer.
66
65
67
-
1. In the action's upper-right corner, choose the
68
-
ellipses (**...**) button, and select **Settings**.
66
+
1. On the designer, select the action. On the information pane that opens, select **Settings**.
69
67
70
-

68
+
If the action supports pagination, under **Networking**, the **Pagination** setting is available.
71
69
72
-
If the action supports pagination,
73
-
the action shows the **Pagination** setting.
70
+
1. Change the **Pagination** setting from **Off** to **On**.
74
71
75
-
1. Change the **Pagination** setting from **Off** to **On**.
76
-
In the **Threshold** property, specify an integer value for
77
-
the target number of results that you want the action to return.
72
+
:::image type="content" source="./media/logic-apps-exceed-default-page-size-with-pagination/sql-action-settings-pagination.png" alt-text="Screenshot shows the action information pane with the Settings tab, Pagination set to On, and a Threshold value.":::
78
73
79
-

74
+
1. In the **Threshold** property, specify an integer value for the target number of results that you want the action to return.
80
75
81
-
1.When you're ready, choose**Done**.
76
+
1.Save your workflow. On the designer toolbar, select**Save**.
82
77
83
78
## Workflow definition - pagination
84
79
85
-
When you turn on pagination for an action that supports this capability,
86
-
your logic app's workflow definition includes the `"paginationPolicy"`
87
-
property along with the `"minimumItemCount"` property in that action's
88
-
`"runtimeConfiguration"` property, for example:
80
+
When you turn on pagination for an action that supports this capability, your logic app's workflow definition includes the `"paginationPolicy"` property along with the `"minimumItemCount"` property in that action's `"runtimeConfiguration"` property, for example:
89
81
90
82
```json
91
83
"actions": {
@@ -109,5 +101,4 @@ In this case, the response returns an array that contains JSON objects.
109
101
110
102
## Get support
111
103
112
-
For questions, visit the
113
-
[Microsoft Q&A question page for Azure Logic Apps](/answers/topics/azure-logic-apps.html).
0 commit comments