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

-Top and -All should not be in the same parameter set

Open alexandair opened this issue 1 year ago • 0 comments

Describe the bug

It doesn't make sense to ask command to return all pages and also limited number of items. One parameter set should support -Top and -PageSize. (With corrected implementation described in #2869 The other parameter set should support -All and -PageSize

Expected behavior

One parameter set should support -Top and -PageSize. (With corrected implementation described in #2869 The other parameter set should support -All and -PageSize

How to reproduce

Try any command with the -Top and -All at the same time.

SDK Version

2.20.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

alexandair avatar Jul 26 '24 19:07 alexandair