From 54afe83ca9d9801698fecd75413b47321311cd17 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Tue, 23 Jan 2024 20:28:21 -0700 Subject: [PATCH] Update Scripts/Powershell/Azure/Connect to Azure AD.md --- .../Powershell/Azure/Connect to Azure AD.md | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Scripts/Powershell/Azure/Connect to Azure AD.md b/Scripts/Powershell/Azure/Connect to Azure AD.md index dcad5b4..3ddb598 100644 --- a/Scripts/Powershell/Azure/Connect to Azure AD.md +++ b/Scripts/Powershell/Azure/Connect to Azure AD.md @@ -15,20 +15,4 @@ Install-Module -Name AzureAD When you run the following command, it will open a dialog box to take the username, password, and MFA code (if applicable) for an administrative account in the Azure Active Directory. ``` powershell Connect-AzureAD -``` - -## Useful commands -The following are quick references for different fields in AzureAD. - -### Check Email Aliases: -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 -``` - -!!! example "Example Output" - ``` powershell - smtp:alias@domain.com - smtp:alias@domain.onmicrosoft.com - SMTP:primaryaddress@domain.com - ``` \ No newline at end of file +``` \ No newline at end of file