Welcome to Microsoft Q&A Platform!
Thanks for reaching out. Looks like the Dataverse connector is capping at 512 records with FetchXML due to paging settings and connector limits. The docs say the default and max page size is 5,000 rows, but if you see "odata.maxpagesize=512" in the "Preference-Applied" header, it means the connector is set to limit records per request.
Try these steps to fix it:
- Check Connector Settings: Make sure there are no tenant-level settings in your Dataverse that are enforcing this limit.
- Use Paging Cookies: Instead of just using the top property or paging settings, try using paging cookies to handle larger datasets.
- Monitor for Updates: Keep an eye out for any Microsoft updates or documentation changes about the Dataverse connector that could affect paging.
References:
- Page results using FetchXml
- Get more data, items, or records by using pagination in Azure Logic Apps
- Query data using the SDK for .NET
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click Accept Answer and Yes for "Was this answer helpful." And if you have any further questions, let us know.