Update Scripts/Powershell/Azure/Check Email Aliases.md

This commit is contained in:
Nicole Rappe
2024-01-23 20:29:47 -07:00
parent 54afe83ca9
commit cb9f666011

View File

@ -1,3 +1,6 @@
!!! note
This command assumes you have performed the steps necessary to [Connect to Azure AD](https://docs.bunny-lab.io/Scripts/Powershell/Azure/Connect%20to%20Azure%20AD/).
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"**.
``` powershell
Get-AzureADUser -ObjectId "user@domain.com" | Select -Property ProxyAddresses