Files
docs/scripts/Powershell/Azure/Check Email Aliases.md
Nicole Rappe 67bdcc687f
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
revert 59909dd12a
revert revert 51cdd1fdb6

revert Fixed Formatting of Files
2026-04-26 17:26:03 -06:00

566 B

tags
tags
PowerShell
Email
Scripting

!!! info "Prerequesite: Connect to Azure AD"

The uppercase SMTP address is the primary address, while lowercase smtp are aliases. You can find the value in active directory in "User > Attribute Editor > proxyAddresses".

Get-AzureADUser -ObjectId "user@domain.com" | Select -Property ProxyAddresses

!!! example "Example Output" powershell smtp:alias@domain.com smtp:alias@domain.onmicrosoft.com SMTP:primaryaddress@domain.com