-First parameter for Get-AzAD* commands doesn't behave as expected #25464
Labels
Azure PS Team
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Graph.Microsoft
Tracking
We will track status and follow internally
Description
Get-AzAdUser -First 1
orGet-AzAdGroup -First 1
should be implemented using the $top query parameter. In other words, the action should be on the server side. At the moment, things are happening on the client side--a bunch of Entra objects are part of the response, and then the first object is picked on the client side.Also,
-First
parameter should have an alias parameter-Top
.Issue script & Debug output
Environment data
Module versions
Error output
No response
The text was updated successfully, but these errors were encountered: