Office 365 – Find user by email address or alias
Step 1: $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session Step 2: Get-Mailbox -Identity * | Where-Object {$_.EmailAddresses -like ‘SMTP:support@domain.nl’} | Format-List Identity, EmailAddresses