Skip to main content

Pagination and Retries

List commands use shared pagination options where the Graph endpoint supports them.

teams chat list --page-size 25 --all-pages --output json

--page-size controls the first Graph request's $top value. --all-pages follows every returned @odata.nextLink until the result is complete.

Microsoft Graph rejects $top on two otherwise paginated endpoints. For teams channel list and teams chat members list, the CLI therefore ignores --page-size and lets Graph choose the page size. --all-pages still follows @odata.nextLink for both commands.

The Graph client retries transient network errors, HTTP 429, and HTTP 5xx. It honors Retry-After for rate limits.

For agents, add workflow-level backoff to avoid repeated fan-out into large tenants.