SOLVED
Home

Azure Group search needs wild cards

%3CLINGO-SUB%20id%3D%22lingo-sub-780386%22%20slang%3D%22en-US%22%3EAzure%20Group%20search%20needs%20wild%20cards%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780386%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20only%20have%20200%20Azure%20groups%2C%20but%20unless%20the%20Admin%20knows%20the%20name%20of%20the%20group%20when%20they%20are%20searching%20for%20it%20they%20can't%20use%20search%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20an%20Azure%20Admin%20I%20need%20to%20be%20able%20to%20find%20groups%20to%20alter%20them%20even%20if%20I%20don't%20know%20the%20text%20the%20group%20name%20starts%20with.%20Azure%20group%20search%20currently%20only%20finds%20items%20that%20match%20my%20search%20terms%20and%20any%20following%20characters%2C%20but%20sometimes%20I%20only%20know%20a%20term%20within%20the%20Group%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20know%20how%20I%20can%20do%20this%20within%20the%20current%20interface%20please%20let%20me%20know.%20Thanks%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20update%20search%20so%20that%20it%20searches%20within%20the%20group%20name%20words.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGroup%20search%20needs%20to%20have%20wildcard%20options%3CBR%20%2F%3EOR%3CBR%20%2F%3ESearch%20needs%20to%20find%20search%20terms%20within%20group%20names%2C%20not%20just%20where%20the%20group%20name%20starts%20with%20the%20search%20terms.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Ee.g.%20search%20for%20Dunedin%20should%20return%20all%203%20of%20the%20following%20groups%20but%20only%20returns%20the%20first%20one%20in%20this%20list%3A%3CBR%20%2F%3EDunedin%20project%3CBR%20%2F%3E29137%20Dunedin%20reorganisation%3CBR%20%2F%3EManagement%20Dunedin%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20applies%20to%20the%20following%20page%20within%20Azure%20Active%20Directory%3C%2FP%3E%3CP%3EGroups%20-%20All%20Groups%3CBR%20%2F%3EThe%20following%20page%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Faad.portal.azure.com%2F%23blade%2FMicrosoft_AAD_IAM%2FGroupsManagementMenuBlade%2FAllGroups%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faad.portal.azure.com%2F%23blade%2FMicrosoft_AAD_IAM%2FGroupsManagementMenuBlade%2FAllGroups%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-780386%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780630%22%20slang%3D%22en-US%22%3ERE%3A%20Azure%20Group%20search%20needs%20wild%20cards%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780630%22%20slang%3D%22en-US%22%3EThe%20only%20solution%20I've%20found%20to%20this%20at%20present%20is%20to%20use%20the%20SharePoint%20online%20Modern%20search%20%22Sites%22%20vertical%20to%20find%20the%20Teams%20related%20SharePoint%20space%2C%20then%20from%20that%20get%20the%20actual%20team%20name.%20The%20URL%20for%20a%20Dunedin%20search%20follows%20this%20format%20%3CA%20href%3D%22https%3A%2F%2FYourTennantName.sharepoint.com%2Fsites%2FYourIntranetSiteName%2F_layouts%2F15%2Fsearch.aspx%2Fsites%3Fq%3DDunedin%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FYourTennantName.sharepoint.com%2Fsites%2FYourIntranetSiteName%2F_layouts%2F15%2Fsearch.aspx%2Fsites%3Fq%3DDunedin%3C%2FA%3EHope%20this%20helps%20some%20of%20you.%20I'm%20still%20interested%20in%20a%20Microsoft%20staffer's%20comment%20on%20how%20to%20do%20%2F%20use%20the%20Azure%20Groups%20search%20bar%20in%20this%20Use%20Case.%20Dorje%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-780863%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Group%20search%20needs%20wild%20cards%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-780863%22%20slang%3D%22en-US%22%3E%3CP%3ESearching%2Ffiltering%20in%20the%20Graph%20API%20is%20very%20limited%2C%20and%20it%20doesn't%20look%20like%20we're%20getting%20any%20meaningful%20improvements%20there%20for%20the%20foreseeable%20future.%20I%20would%20suggest%20avoid%20using%20anything%20that%20relies%20on%20the%20Graph%20(AAD%20portal%2C%20AAD%20PowerShell)%20and%20use%20alternatives%20where%20possible%20(MSOnline%20module%2C%20Exchange%20admin%20center%20or%20PowerShell).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-782538%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Group%20search%20needs%20wild%20cards%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-782538%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20quick%20response.%20I%20couldn't%20get%20the%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20took%20me%20a%20while%20to%20figure%20out%20the%20syntax%20for%20filtering%20the%20list%20of%20Unified%20Groups%20so%20Exchange%20Admin%20center%20web%20GUI%20to%20load%20so%20I%20tried%20to%20find%20some%20PowerShell%20code%20that%20would%20find%20my%20search%20term%20within%20the%20Team%20displayName%20property.%3C%2FP%3E%3CP%3EI%20couldn't%20get%20the%20-Filter%20-contains%20operator%20working%20with%20get-UnifiedGroup%20%2C%20but%20I%20did%20get%20the%20following%20working%3A%3C%2FP%3E%3COL%3E%3CLI%3EStart%20the%20%22Microsoft%20Exchange%20Online%20PowerShell%20Module%22%3C%2FLI%3E%3CLI%3ELogin%20to%20exchange%2C%20you'll%20need%20security%20rights%20on%20your%20account%20to%20do%20this%20e.g.%20Exchange%20Admin%20Role%20assigned%20to%20your%20account%3C%2FLI%3E%3CLI%3EThen%20run%20the%20following%3CBR%20%2F%3EGet-UnifiedGroup%20-Filter%20%7BDisplayName%20-like%20%22*dunedin*%22%7D%20%7C%20Format-List%20DisplayName%2CEmailAddresses%2CNotes%2CManagedBy%2CAccessType%3C%2FLI%3E%3C%2FOL%3E%3CP%3EThe%20code%20runs%20quickly%20in%20my%20tenancy%20(almost%20a%20thousand%20groups)%20so%20this%20works%20for%20me.%3CBR%20%2F%3E%3CBR%20%2F%3EDoes%20anyone%20at%20Microsoft%20have%20a%20comment%20on%20why%26nbsp%3Bsearch%20in%20the%20Admin%20screens%20doesn't%20do%20a%20%3A%3C%2FP%3E%3CP%3E-%20Like%20%22*searchTerm*%22%20search%3CBR%20%2F%3Erather%20than%20the%20current%3C%2FP%3E%3CP%3E-%20Like%20%22searchTerm*%22%20search%20%3F%3F%3F%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Dorje McKinnon
Contributor

We only have 200 Azure groups, but unless the Admin knows the name of the group when they are searching for it they can't use search 

 

As an Azure Admin I need to be able to find groups to alter them even if I don't know the text the group name starts with. Azure group search currently only finds items that match my search terms and any following characters, but sometimes I only know a term within the Group name.

 

If you know how I can do this within the current interface please let me know. Thanks :)

 

Please update search so that it searches within the group name words.

 

Group search needs to have wildcard options
OR
Search needs to find search terms within group names, not just where the group name starts with the search terms.


e.g. search for Dunedin should return all 3 of the following groups but only returns the first one in this list:
Dunedin project
29137 Dunedin reorganisation
Management Dunedin

 

This applies to the following page within Azure Active Directory

Groups - All Groups
The following page
https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/GroupsManagementMenuBlade/AllGroups

3 Replies
The only solution I've found to this at present is to use the SharePoint online Modern search "Sites" vertical to find the Teams related SharePoint space, then from that get the actual team name. The URL for a Dunedin search follows this format https://YourTennantName.sharepoint.com/sites/YourIntranetSiteName/_layouts/15/search.aspx/sites?q=Du... Hope this helps some of you. I'm still interested in a Microsoft staffer's comment on how to do / use the Azure Groups search bar in this Use Case. Dorje
Solution

Searching/filtering in the Graph API is very limited, and it doesn't look like we're getting any meaningful improvements there for the foreseeable future. I would suggest avoid using anything that relies on the Graph (AAD portal, AAD PowerShell) and use alternatives where possible (MSOnline module, Exchange admin center or PowerShell).

Hi @Vasil Michev ,

 

Thank you for your quick response. I couldn't get the 

It took me a while to figure out the syntax for filtering the list of Unified Groups so Exchange Admin center web GUI to load so I tried to find some PowerShell code that would find my search term within the Team displayName property.

I couldn't get the -Filter -contains operator working with get-UnifiedGroup , but I did get the following working:

  1. Start the "Microsoft Exchange Online PowerShell Module"
  2. Login to exchange, you'll need security rights on your account to do this e.g. Exchange Admin Role assigned to your account
  3. Then run the following
    Get-UnifiedGroup -Filter {DisplayName -like "*dunedin*"} | Format-List DisplayName,EmailAddresses,Notes,ManagedBy,AccessType

The code runs quickly in my tenancy (almost a thousand groups) so this works for me.

Does anyone at Microsoft have a comment on why search in the Admin screens doesn't do a :

- Like "*searchTerm*" search
rather than the current

- Like "searchTerm*" search ????


Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies