Global Search in Azure/Entra Exchange for smtp email address
Request:
I want to find the mailbox of an email address
Example:
Who is the mailbox owner of Scanner1@hpgbrands.com
Solution:
This solution assumes you have already installed the ExchangeOnline module in powershell
Open PowerShell and run the command
Connect-ExchangeOnline
YOu will be prompted to enter your Entra credentials.

Run this command and replace scanner1 with the email address you want to search for
Get-EXOMailbox -ResultSize Unlimited | Where-Object { $_.EmailAddresses -like "*Scanner1*" } | Select-Object DisplayName, EmailAddresses
The mailbox owner will be displayed in the results
