Files
docs/scripts/Identity and Certificates/Microsoft 365/Check Email Aliases.md
T
nicole 289769a601
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 8s
Restructured Documentation
2026-09-05 14:08:43 -06:00

910 B

tags
tags
PowerShell
Email
Scripting

Purpose

This document records the procedure for check email aliases. Follow the environment assumptions and commands below.

!!! 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
```