Microsoft 365 Error Codes

Fix Power Automate Center of Excellence Cleanup Flow Pagination Error

Ayan MasoodAyan Masood Nov 4, 2026 868 views

Question details

The Center of Excellence cleanup flow fails with an InvalidPaginationPolicy error.

How to Fix the Center of Excellence Cleanup Flow Pagination Error
Product
Microsoft Power Automate
Device & OS
not provided
Scenario
Running the Center of Excellence Starter Kit cleanup flow where the Get_Environments action requests multiple records.
Observed behavior
The flow execution stops and returns an InvalidPaginationPolicy error because the requested record count exceeds the service limit.
Before you start

Ensure you have Power Platform administrator permissions and that your Center of Excellence Starter Kit is updated to the latest supported version.

Solution 1Recommended

Verify Power Automate Premium License

The Center of Excellence Starter Kit requires specific premium licensing to execute correctly without policy errors.

The most common cause for this pagination failure is missing appropriate licensing for the account executing the cleanup flow.

1
Access Microsoft 365 admin center

Log in to the Microsoft 365 admin center using your administrator credentials and navigate to Users, then click on Active users.

2
Select the service account

Locate and click on the specific account that is configured to run the Center of Excellence Starter Kit.

3
Check license assignment

Go to the Licenses and apps tab and verify that the account has a 'Microsoft Power Automate Premium per-user' license actively assigned.

Verify Power Automate Premium License
License applied: After assigning the proper license, wait a few minutes for the changes to sync before reactivating the flow.
Free Microsoft Office alternative

Try WPS Office for Your Daily Productivity Needs

While Microsoft Power Automate handles your complex organizational workflows, WPS Office provides a lightweight, entirely free alternative to Microsoft Office for creating and editing your daily documents, spreadsheets, and presentations.

  1. 1. Download WPS Office: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the application: Run the downloaded installer file and follow the simple on-screen instructions to complete the setup.
  3. 3. Open and edit files: Launch WPS Office and instantly open your existing Microsoft Office files with perfect formatting compatibility.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight application that runs smoothly on both modern and older devices.Familiar user interface requiring no steep learning curve.Built-in PDF editing capabilities integrated directly into the suite.
microsoft office alternative - wps office

Frequently Asked Questions

What causes the InvalidPaginationPolicy error in Power Automate?

This error occurs when a flow action requests a number of records that exceeds the maximum threshold allowed by the service's pagination settings.

Do I need a premium license to run the Center of Excellence Starter Kit?

Yes, running the CoE Starter Kit requires a Microsoft Power Automate Premium per-user license for the account executing the flows.

What is the maximum pagination limit for the Get_Environments action?

To prevent the InvalidPaginationPolicy error, the pagination threshold in the Get_Environments action should be kept at or below the maximum allowed item count of 5,000.