Skip to content

-All parameter should automatically set -PageSize=999 #2769

@Licantrop0

Description

@Licantrop0

When listing all items, it's much more efficient to query the maximum Microsoft Graph PageSize, 999 items ($top parameter), instead of the default 20.
The -All queries could be up to 50 times faster, as it reduces roundtrips using @odata.nextLink.

If a query has -All parameter, it should automatically set -PageSize 999 if not otherwise specified in the query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions