Add timeout parameter to all Get-* cmdlets
Describe the feature A time out parameter for scenarios where we want to limit paged results.
How will this feature enhance your project and further the project’s overall goals? Who will benefit from this feature (i.e. all users; the project team)? This feature would help with running unattended tasks in large Microsoft Entra Id tenants with 300,000+ objects where it is not uncommon for queries to run for 12 hours or more.
Describe alternatives you've considered Using -Top parameter while viable is very limiting since query performance varies depending on load, throttling etc. Another workaround is using Invoke-GraphRequest and then writing own paging and throttling logic
Additional context Add any other context or screenshots about the feature request here.
@noendscripting from your description it's not so clear on your proposal. Is this a timeout for "time to execute the command" or pagination of the requests. If it's the latter, have a look at this if they are related: https://github.com/microsoftgraph/entra-powershell/issues/888
Time to execute the command. Alternatively, you can add maximum number of pages or maximum results. The issue 888 will run into a problem that every API endpoint inside Microsoft Graph has it's own maximum size page