🎉 Our Microsoft 365 Reporting & Management Tool is now available in Azure Marketplace 🚀
This website uses cookies to improve your experience. We'll assume you're ok with this. Know more.
Active Directory

How to Get the Email Addresses of Users in Active Directory

Unclear or outdated email addresses in Active Directory user accounts can disrupt day-to-day operations. These issues often surface during critical moments like migrations, directory searches, or organization-wide communications. The frustrating part is that tracking down these incorrect email addresses usually requires endless manual checks across user profiles. This guide shows you different ways to quickly find the email addresses of Active Directory users, so you can fix disruptions before they turn into failures.

Get Active Directory User’s Email Address Using ADUC

Active Directory Permission Required
Account Operator Least Privilege
Administrator Most Privilege
  • Open Server Manager and go to Tools → Active Directory Users and Computers.
  • In the left pane, right-click Saved Queries and select New»Query.
  • Enter a name and an optional description. Ensure the Include subcontainers is checked, then click Define Query.
  • From the "Find" drop-down menu, select Custom Search. Then switch to the Advanced tab and enter the following LDAP filter.
    (objectClass=user)(objectCategory=person)
  • Click OK twice to save the query and close the configuration window. Now, all users in your Active Directory domain will be listed in the right pane.
  • Then, click View from the ADUC toolbar and choose Add/Remove Columns.
  • In the ‘Available columns’, choose E-Mail Address and click Add.
    get-users-email-address-using-saved-queries
  • Click OK to list the email addresses of all users in your domain.
Get Active Directory User’s Email Address Using ADUC

List Active Directory Users’ Email Addresses Using PowerShell

Active Directory Permission Required
Account Operator Least Privilege
Administrator Most Privilege
  • First, import the Active Directory module using the below cmdlet.
  • Windows PowerShell Windows PowerShell
     Import-ActiveDirectory
  • Run the following cmdlet to fetch the email addresses of all users in your domain, along with their display name and SAM Account Name.
  • Windows PowerShell Windows PowerShell
     Get-ADUser -Filter * -Properties Mail, DisplayName | Select-Object DisplayName, SamAccountName, Mail
List Active Directory Users’ Email Addresses Using PowerShell

Get Full Visibility into User Email Addresses Across Your Domain!

AdminDroid’s Active Directory reporting tool makes it easy to manage and validate user email addresses across your domain. With its powerful reporting, you get a complete view of the User Mail property along with essential account details like admin roles, account expiry, and more—all in one place. Regular monitoring of this report helps you prevent bounced emails and ensure smooth organization-wide communication. Below are some of the most useful features for effective email address management in Active Directory.

Ensure New Users Are Assigned Email Addresses

Use the recently created users report to verify that every new user in Active Directory is provisioned with a valid email address from the start to prevent communication gaps.

Update Email Attributes with Built-In Management Actions

With AdminDroid’s Active Directory user management actions, you can quickly add, remove, or update email addresses and aliases for users across your AD domain.

Get Instant Alerts on Active Directory Email Address Modifications

Set up AdminDroid’s alerts to receive instant notifications whenever a user's email address is modified and detect unexpected updates immediately.

Identify and Review Active Directory Contacts Without Email Information

Find and manage contacts without an email address in Active Directory to ensure external communication details are complete and reliable.

Audit Privileged Admin Email Addresses to Prevent Misuse

Review email addresses assigned to all Active Directory admins to avoid duplicate mappings and ensure admin accounts are not unintentionally mail-enabled.

Download Active Directory Email Address Records in Various Formats

Export Active Directory user email address details in your preferred formats like CSV, PDF, RAW, etc., for audits, easy sharing, or offline review.

Overall, AdminDroid helps you stay on top of email address hygiene in Active Directory by identifying missing or outdated user email attributes. It highlights accounts that need attention, offering quick actions & alerts to prevent communication failures and identity inconsistencies.

Explore a full range of reporting options

Important tips

Always check for existing email addresses across the Active Directory forest before assigning new ones to prevent duplicate entries and mail conflicts.

Assign SMTP aliases for users in Active Directory to support multiple email addresses and ensure uninterrupted email delivery.

Use the Delegation Wizard in Active Directory to restrict mail attribute changes to privileged admins and prevent unauthorized email forwarding.

Common Errors and Resolution Steps

The following are the possible errors and troubleshooting hints while finding and managing the email addresses of Active Directory users.

Error Set-ADUser: Cannot find an object with identity ‘<UserName>’.

This error occurs when PowerShell cannot locate the specified user account in Active Directory. It is usually caused by an incorrect username, a typo, or running the command against the wrong domain/OU.

Fix Verify the user exists and confirm the correct UPN value using the cmdlet below. Then, rerun the cmdlet.
Get-ADUser -Filter *

Error Set-ADUser: Insufficient access rights to perform the operation.

This error occurs in PowerShell when your account does not have permission to modify email attributes in Active Directory, such as mail or proxyAddresses.

Fix Run the command using a Domain Admin account or ensure the required permissions are delegated to your role.

Error The query filter <LDAPQuery> is not a valid string.

This error occurs in ADUC when the LDAP filter entered in an advanced query contains invalid syntax or formatting.

Fix Double-check the LDAP query for missing brackets or typos, then re-enter the correct filter.
Frequently Asked Questions

Manage User’s Email Address in Active Directory to Prevent Mail Delivery Failures

1. How to find the email address of specific users in Active Directory?

Imagine you need to contact a few specific users for an urgent password reset or security notification. Manually opening each user profile or exporting all user email attributes to find a few addresses can quickly become time-consuming. Instead, you can use the simple approach below to get the email addresses of multiple users using their User Principal Name (UPN).

Check the email addresses of multiple users across your domain

If you need to list the email addresses of a few specific users, use the cmdlet below. Replace the <UserName> placeholders with the names of the user accounts you want to check.

$Users = @("<UserName1>", "<UserName2>", "<UserName3>")
$Users | ForEach-Object {
    Get-ADUser -Identity $_ -Properties mail | Select-Object Name, SamAccountName, mail
}
email-address-for-specific-users

Find all Active Directory user email addresses in an OU

To retrieve the email addresses of all users in a specific OU, run the cmdlet below by replacing <OUDistinguishedName> with the OU distinguished name.

Get-ADUser -Filter * -SearchBase "<OUDistinguishedName>" -Properties mail | Select-Object Name, mail
email-address-of-users-in-active-directory-ou

Get email addresses for multiple users in bulk using PowerShell

Follow the steps below to find email addresses for multiple users in bulk.

  • Create a text or CSV file with the UPNs of the users whose email addresses you want to retrieve in the Active Directory domain.
  • Then, update <FilePath> and run the command below to list the email addresses of the specified users along with their display names.
list-emai-address-for-a-specific-users
Get-Content "<FilePath>" | ForEach-Object { Get-ADUser -Filter "UserPrincipalName -eq '$_'" -Properties mail | Select Name, UserPrincipalName, mail }
find-specific-users-email-address-active-directory

Find specific users’ email addresses with name, status, role, and more in seconds with AdminDroid!

  • With AdminDroid’s smart filters in the Active Directory reports, you can instantly find the exact user’s email address you need. 
  • Go to the All Users report, set the filter criteria, hit Apply, and you're done. This lists the email addresses of specified users in your domain.
  • To view email addresses for all users in a specific OU, simply select the required OU from the tree view.
user-email-address-admindroid

2. How to find who owns an email address in Active Directory?

Picture an email address in your domain suddenly sending sensitive data to external email accounts. This could be a sign of an account compromise or suspicious insider activity. In these cases, the first step is to identify which Active Directory user account owns that email address. Once you trace the address back to the right user, you can begin the next phase of investigation and take appropriate action.

Find the user account associated with an email address using ADUC

Follow the steps below to find out who an email address belongs to in Active Directory.

  • Open the Active Directory Users and Computers console and click the Find icon in the toolbar.
  • Then, switch to the Advanced tab and click 'Field'. 
  • Select User and choose E-mail Address.
  • Enter the email address you want to search for in the Value box.
  • Click Find Now to list the user who owns that email address.
user-who-owns-an-email-address-active-directory

Handy Tip: You can also use this method to verify whether an email address exists in your Active Directory forest or domain before assigning it to any user. This helps ensure accurate email assignments and avoids conflicts across accounts.

Get the owner of an email address in Active Directory using PowerShell

Replace <Email> with the required value and run the cmdlet below to get the user behind an email id in Active Directory.

Get-ADUser -Filter "mail -eq '<Email>'" -Properties mail | Select-Object Name, mail

user-belongs-to-a-mail

3. How to manage Active Directory email addresses in bulk?

When creating a new user in Active Directory, it usually requires only the basic details such as the username and password. Other required attributes, like the email address, are often added manually. You can add an email address to a user in Active Directory using a simple, straightforward method.

You can simply open Active Directory Users and Computers (ADUC), right-click the user object, and select Properties. Then, go to the General tab, and add the email address in the E-mail field.

add-email-address-for-a-single-user

However, this approach becomes difficult when managing email addresses for multiple users. Even updating email details for just 10 accounts takes time, and doing the same for hundreds of users quickly turns into a repetitive and error-prone task. In such scenarios, you can use the following ways to add, update, or remove email addresses in bulk.

Bulk add email addresses for domain users in ADUC

To add email addresses for multiple users, log in to a domain controller or a system with ADUC installed and follow the steps below. This method assigns email addresses using a fixed format based on each user’s logon name and your domain.

  • Open Active Directory Users and Computers and navigate to the OU or container that contains the target users.
  • Alternatively, you can use Saved Queries to quickly list all users in your domain. Then, select multiple users using Shift or Ctrl.
  • Right-click the selection and choose Properties.
  • In the ‘General’ tab, select the E-mail field and enter the email format below.
    %username%@<DomainName>
  • Click Apply and then OK.
bulk-add-email-address-in-active-directory

To remove email addresses for multiple users, follow the same steps to select the user accounts. Then, go to Properties → General, select the E-mail field, leave it empty, and click Apply. This removes the email attribute from all selected accounts.

Manage email addresses for multiple users in bulk using PowerShell

The ADUC approach becomes less practical when each user needs a different email address instead of a common username@domain based format. In such scenarios, PowerShell provides a faster and more flexible way to add email addresses for multiple users at once.

  • To get started, create a CSV file containing the usernames and the email addresses you want to assign.
  • Run the following command after replacing the <FilePath> to add email addresses for bulk Active Directory users.
bulk-add-user-email-address-powershell
Import-Csv -Path "<FilePath>" | ForEach-Object { 
$User = $_.Users 
$Email = $_.EmailAddress 
Set-ADUser -Identity $User -EmailAddress $Email 
Write-Host "Updated primary email to $Email for $User" 
}
bulk-user-email-address-active-directory-powershell

You can also remove email address from a group of users with PowerShell. Create a CSV file that contains the usernames. Then run the following command after replacing <FilePath> to clear the email attribute for all users listed in the file.

Import-Csv "<FilePath>" | ForEach-Object {
    $User  = $_.Users
    Set-ADUser -Identity $User -Clear mail
}
  • "To simplify email management, AdminDroid provides powerful Active Directory Flow Agents. In just a few clicks, you can automate the creation, removal, and updating of email attributes for individuals or entire departments. Deploy your workflow once and let AdminDroid handle email address updates automatically."

4. How to find all users without an email address in Active Directory?

A missing email address in Active Directory is more than just a blank field—it can create real operational gaps. When the email attribute is empty, users may miss important system notifications, mailbox provisioning, etc. Therefore, it is essential to ensure that every account has a valid email address to maintain accurate user records and seamless communication.

Below are a few methods to identify all user accounts missing an email address in Active Directory.

Get all Active Directory users without an email address using ADUC

Active Directory Users and Computers provides an easy way to find accounts missing email addresses using Saved Queries. This is useful for admins who prefer a GUI-based approach without running PowerShell commands.

  • Right-click Saved Queries in ADUC console and select New»Query.
  • Enter a name for the query, select “Include Subcontainers”, and click Define Query.
  • Select Custom Search from the Find drop-down menu.
  • Switch to the Advanced tab and enter the following query.
    (&(objectCategory=person)(objectClass=user)(!(mail=*)))
  • Then, click OK twice to list all users without an email address, as shown in the image below.
users-without-email-address-active-directory
users-without-email-address-powershell

List all users in a domain without an email address using PowerShell

Instead of performing multiple steps in ADUC, you can run the cmdlet below to get all Active Directory users missing the mail attribute instantly.

Get-ADUser -LDAPFilter "(!(mail=*))" | ft

This will return all user accounts without an email address, along with details such as distinguished name, SAM account name, object GUID, etc.

users-without-email-powershell

5. How to add an email alias to users in Active Directory?

In many Active Directory domains, a user’s primary email address is often the same as their sign-in username. When that address is widely shared in external communications, it increases the visibility of a user’s login identity and makes them an easier target for attackers. In such cases, an email alias provides a safer public-facing address.

This allows users to communicate externally without relying on their core logon email. By separating public contact addresses from internal identities, you can reduce unnecessary exposure and add an extra layer of protection around directory credentials.

Add email alias to Active Directory users in ADUC

Follow the steps below to add a secondary email address for an Active Directory user.

  • Open the Active Directory Users and Computers console.
  • Locate and right-click the user for whom you want to add a secondary email.
  • Select Properties and go to the Attribute Editor tab. Then, scroll down and double-click proxyAddresses.
  • Under “Value to add”, enter the mail alias in the format smtp:<EmailAddress> and click Add.
  • Then, click OK to save the Active Directory email alias.
add-alias-to-user-in-active-directory

Note: If you don’t see the Attribute Editor tab, click View»Advanced Features in ADUC. The tab will then appear in the user properties window. If the proxyAddresses attribute is not visible in the "Attribute Editor", update the Filter at the bottom of the Attribute Editor tab to display all attributes.

Add a secondary email address to Active Directory users using PowerShell

You can also use the following cmdlet to add an email alias to an Active Directory user using PowerShell.

Here, replace <UserName> with the name of the user whose account you want to update and <alias> with the secondary email address you want to assign.

Set-ADUser -Identity <UserName> -Add @{
proxyAddresses="smtp:<alias>"
}

Bulk add email alias to Active Directory users using PowerShell

  • To add email aliases to multiple Active Directory users in bulk, create a CSV file with the user names of users and the mail aliases.
  • Then, replace the <FilePath> with the appropriate value and execute the cmdlet below.
bulk-add-email-alias-actve-directory
Import-Csv “<FilePath>” | ForEach-Object {
    Set-ADUser -Identity $_.UserName -Add @{
        proxyAddresses = "smtp:$($_.Alias)"
    }
}

Kickstart Your Journey With
AdminDroid

Your Microsoft 365 Companion with Enormous Reporting Capabilities

Download Now
User Help Manuals Compliance Docs Customer Stories
x
Delivering Reports on Time
Want a desired Microsoft 365 reports every Monday morning? Ensure automated report distribution and timely delivery with AdminDroid's Scheduling to your email anytime you need.
Delivering Reports on Time
Schedule tailored reports to execute automatically at the time you set and deliver straight to the emails you choose. In addition, you can customize report columns and add inteligent filtering to the activities just from the previous day to suit your Microsoft 365 report requirements.
Set It, Schedule It, See Results- Your Reports, Your Way, On Your Time!
Time Saving
Automation
Customization
Intelligent Filtering
Give Just the Right Access to the Right People
Grant fine-tuned access to any Microsoft 365 user with AdminDroid’s Granular Delegation and meet your organization’s security and compliance requirements.
Give Just the Right Access to the Right People
Create custom roles loaded with just the right permissions and give access to admins or normal users within AdminDroid. The result? A streamlined Microsoft 365 management experience that aligns your organization's security protocols and saves your invaluable time and effort.
Align, Define, Simplify: AdminDroid's Granular Delegation
Smart Organizational Control
Effortless M365 Management
Simplified Access
Advanced Alerts at a Glance
Receive quick notifications for malicious Microsoft 365 activities. Engage with the AdminDroid’s real-time alert policies crafted to streamline your security investigations.
Advanced Alerts at a Glance
Stay informed of critical activities like suspicious emails and high-risk logins, bulk file sharing, etc. Through creating and validating ideal alert policies, AdminDroid provides a comprehensive approach to real-time monitoring and management of potential threats within your organization.
AdminDroid Keeps You Always Vigilant, Never Vulnerable!
Proactive Protection
Real-time Monitoring
Security Intelligence
Threat Detection
Merge the Required Data to One Place
Combine multiple required columns into one comprehensive report and prioritize the information that matters most to you with AdminDroid’s Advanced Column Customization.
Merge the Required Data to One Place
This column merging capability offers a flexible way to add different columns from various reports and collate all the essential data in one place. Want to revisit the customized report? Save it as a 'View’, and your unique report is ready whenever you need it.
Merge with Ease and Save as Views!
Custom Reporting
Unique View
Desired Columns
Easy Data Interpretation
Insightful Charts and Exclusive Dashboards
Get a quick and easy overview of your tenant's activity, identify potential problems, and take action to protect your data with AdminDroid’s Charts and Dashboards.
Insightful Charts and Exclusive Dashboards
With AdminDroid charts and dashboards, visualize your Microsoft 365 tenant in ways you've never thought possible. It's not just about viewing; it's about understanding, controlling, and transforming your Microsoft 365 environment.
Explore Your Microsoft 365 Tenant in a Whole New Way!
Executive overviews
Interactive insights
Decision-making
Data Visualization
Efficient Report Exporting for Microsoft 365
Downloading your reports in the right file format shouldn’t be a hassle with AdminDroid’s Report Export. Experience seamless report exporting in various formats that cater to your needs.
Efficient Report Exporting for Microsoft 365
Navigate through diverse options and export Microsoft 365 reports flawlessly in your desired file format. Tailor your reports precisely as you need them and save them directly to your computer.
Take Control, Customize and Deliver- Your Office 365 Data, Exported in Your Way!
Easy Export
Seamless Downloading
Data Control
Manage Microsoft 365

Get AdminDroid Office 365 Reporter Now!