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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Handling Pagination of...
Power Automate
Unanswered

Handling Pagination of JSON response received from HTTP GET Custom API

(0) ShareShare
ReportReport
Posted on by

Settings.PNGI am using MS flows and trying to retrieve Office 365 audit log search report using Office 365 management API there are more than 3000 items but only getting 100 results. I have already enabled the required Pagination settings(refer to the provided screen shot) and constructed the API as per the requirement. I am using HTTP connector to access the below API.

https://outlook.office365.com/psws/service.svc/UnifiedAuditLog?StartDate=@{variables('StartDate')}&EndDate=@{variables('EndDate')}&Operations=FileAccessed,FileDownloaded&SessionCommand=ReturnNextPreviewPage

 

Could you please let me know how to retrieve all the items in a report ?

 

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @ParthNikhra,

     

    Please check the doc about pagination at here:

    https://flow.microsoft.com/en-us/blog/four-connector-action-settings/

     

    From the doc we know that Pagination enables you to handle more records than are returned in a single call from a service. For example, some services only return back 50 items at a time, however, in the flow, you may want to get all the items in the list. By turning on pagination, the flow engine will continue to call the service until it has all of the items.

     

    About your scenario, if you have more than 3000 items, you could turn on Pagination and set the limit to 5000. As currently the maximum items that flow can return is 5000. Please check the doc on limits for more details:

    https://docs.microsoft.com/en-us/flow/limits-and-config

     

    Please take a try with it on your side.

     

    Best regards,

    Mabel Mao

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard