azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzADGroup needs feature to search group by name

Open mprabhu11 opened this issue 6 years ago • 3 comments

Description of the new feature

The Get-AzADUser lets you find a user using their email name… E.g., Get-AzADUser -UserPrincipalName [email protected]

However, the Get-AzADGroup does not have a similar capability. Moreover, the “-SearchString” option does not search the mail nick name for the group. This basically means that just knowing the mailing-id is not sufficient to search for a group. (Searching using part of the name is possible but then one has to disambiguate as often names may contain common words across groups.)

Could this be added in a future update?

mprabhu11 avatar Jun 07 '20 10:06 mprabhu11

Updated the title and add feature request label

dingmeng-xue avatar Jun 08 '20 01:06 dingmeng-xue

Hi @mprabhu11 , we have released the preview version of Az.Resources 5.0.0 https://www.powershellgallery.com/packages/Az.Resources/5.0.0-preview

Could you check whether existing parameter set can meet your requirement?

dingmeng-xue avatar Nov 13 '21 02:11 dingmeng-xue

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Nov 23 '21 08:11 ghost