microsoftgraph / microsoftgraph/entra-powershell

Add timeout parameter to all Get-* cmdlets

Open
#1,300 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ToTriage
Dominant language
PowerShell
Stars
213
Forks
46
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Get-* cmdlets and the existing paging behavior, using Invoke-GraphRequest and the -Top workaround as context. Define how a timeout should limit long-running paged queries across all Get-* cmdlets, including throttling scenarios, and verify that unattended queries stop within the requested limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.