Office 365: Find who has email address

We have 2 domains (on different sites) using Outlook 365, I need to find who has a specific email address.

We are using Azure AD connect. Anyone know an easy way?
HKFueyAsked:
Who is Participating?
 
Vasil Michev (MVP)Connect With a Mentor Commented:
Who has a specific address where, in O365 or on-prem? It's easy to find it via the Get-Recipient cmdlet:

Get-Recipient user@domain.com

Open in new window


but that requires Exchange. If you need the on-prem object and you dont have Exchange on-prem, use the AD cmdlets:

Get-ADUser -Filter "proxyAddresses -like '*user@domain.com'"

Open in new window


Note the trailing *, it's added to cover all address variations (SMTP, smtp, SIP, etc).
0
 
HKFueyAuthor Commented:
That's really helpful and super quick! Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.