How to search guests?

%3CLINGO-SUB%20id%3D%22lingo-sub-2523428%22%20slang%3D%22en-US%22%3EHow%20to%20search%20guests%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2523428%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20basic%20question%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20cannot%20find%20a%20way%20to%20search%20for%20partial%20information%20of%20guests%20accounts%20in%20the%20list%20of%20guests%20of%20the%20Admin%20center%20or%20users%20in%20AAD.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20search%20that%20works%20well%20is%20when%20we%20search%20with%20the%20whole%20email%20account%20or%20the%20first%20letters.%20Do%20you%20have%20a%20trick%20to%20search%20for%20the%20domain%20or%20first%20name%20or%20last%20name%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2523428%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-2524155%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20search%20guests%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2524155%22%20slang%3D%22en-US%22%3EIf%20you%20want%20proper%20search%2C%20use%20PowerShell%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2536798%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20search%20guests%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2536798%22%20slang%3D%22en-US%22%3EYou%20can%20run%20this%20command%20after%20connecting%20to%20MSOL%20module%20in%20PowerShell.%3CBR%20%2F%3EThe%20%22%23ext%23%22%20part%20can%20be%20changed%20according%20to%20your%20requirement.%3CBR%20%2F%3E%3CBR%20%2F%3EGet-MsolUser%20-all%20%7C%20where%20%7B%24_.UserPrincipalName%20-match%20%22%23ext%23%22%7D%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2692862%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20search%20guests%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2692862%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F32707%22%20target%3D%22_blank%22%3E%40KM%20KTNN%3C%2FA%3E%26nbsp%3BI%20found%20a%20way%20in%20AAD%20by%20adding%20a%20filter%20on%20the%20domain%20in%20the%20users%20list.%20You%20have%20to%20enter%20the%20whole%20domain.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22filter-domain.png%22%20style%3D%22width%3A%20295px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306272iB5D78F2D17B74163%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22filter-domain.png%22%20alt%3D%22filter-domain.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

I have a basic question :)

 

I cannot find a way to search for partial information of guests accounts in the list of guests of the Admin center or users in AAD.

 

The only search that works well is when we search with the whole email account or the first letters. Do you have a trick to search for the domain or first name or last name?

3 Replies
If you want proper search, use PowerShell :)
You can run this command after connecting to MSOL module in PowerShell.
The "#ext#" part can be changed according to your requirement.

Get-MsolUser -all | where {$_.UserPrincipalName -match "#ext#"}

@KM KTNN I found a way in AAD by adding a filter on the domain in the users list. You have to enter the whole domain.

 

filter-domain.png