microsoftgraph / microsoftgraph/msgraph-sdk-powershell

Get-MgPlaceAsRoom -All not working as expected

Open
#3,279 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Service issue type:bug
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

Describe the bug

Unable to use the parameter -All with the command Get-MgPlaceAsRoom or Get-MgBetaPlaceAsRoom
There is no error at execution but this command return only the 100 first object. So you have the same result with or without -All

Reference to bug #2825

Expected behavior

Return all objects

How to reproduce

Execute Get-MgPlaceAsRoom -All when you have more than 100 objects

SDK Version

2.25.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

PowerShell_transcript.TRUDOLF3.v5g9R9+o.20250417092056.txt

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

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 at the Get-MgPlaceAsRoom and Get-MgBetaPlaceAsRoom cmdlet entry points, and review the pagination behavior associated with the -All parameter. Reproduce the issue with more than 100 objects using SDK version 2.25.0, and compare results with and without -All. Done means both commands return every object rather than only the first 100.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.