msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Get-MgPlaceAsRoom -All not working as expected

Open foobaan opened this issue 1 year ago • 0 comments

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

Capture d'écran 2024-07-04 184858 Capture d'écran 2024-07-04 184947 Capture d'écran 2024-07-04 185117

Expected behavior

Return all object

How to reproduce

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

SDK Version

2.19.0

Latest version known to work for scenario above?

No response

Known Workarounds

Use -Top parameter

Debug output

Click to expand log ```
</details>


### Configuration

PS C:\Windows\system32> $PSVersionTable

Name                           Value                                                                                                                                         
----                           -----                                                                                                                                         
PSVersion                      5.1.17763.5933                                                                                                                                
PSEdition                      Desktop                                                                                                                                       
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                       
BuildVersion                   10.0.17763.5933                                                                                                                               
CLRVersion                     4.0.30319.42000                                                                                                                               
WSManStackVersion              3.0                                                                                                                                           
PSRemotingProtocolVersion      2.3                                                                                                                                           
SerializationVersion           1.1.0.1 

### Other information

_No response_

foobaan avatar Jul 04 '24 16:07 foobaan