microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Get-MgPlaceAsRoom -All not working as expected
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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