News We Recently Launched AD Migrator and AD Reporter.

How Office 365 View all Aliases? Ways to Show all Aliases & Email Address

  author
Written By Ashwani Tiwari
Anuraag Singh
Approved By Anuraag Singh
Published On September 9th, 2022
Reading Time 6 Minutes Reading

What is Aliasing in Office 365?

After creating an account in Office 365, users are assigned with a primary email address. When a user sends email to someone else, this primary email address is what usually displays in the ‘From’ filed in email applications. Well, users can also have more than one email address linked with their Office 365 for the business account. These additional email addresses are known as aliases. And Microsoft Office 365 view all aliases and email address to its users when they require it.

An alias is a technique to disguise another O365 email address and everything that is sent to an alias email account is actually received in the inbox of the primary email account. It is a better way to organize incoming emails, with folders/ labels. One can create multiple aliases for a single email account. Yet, users cannot send emails from an alias address and any reply will appear in the primary email address as the sender. Now see, how to view all aliases in Office 365 account in a step by step procedure.

See What’s in This Article:

The following Blog will discuss How Office 365 show all Aliases effectively. Let us explore the table of content before going further:

  1. Users Scenarios and Case study
  2. Open using PowerShell Command
  3. Connect PowerShell with Office 365
  4. Generate List of Email Aliases
  5. Best Alternative Solution
  6. Final Note

How to List Email Addresses and Alias in Office 365?

Sometimes due to professional requirements, users may need the list of email addresses and aliases for each user. However, the main question is how Office 365 view all aliases? In order to answer this question and show all aliases, we are here with this post. So, before directly jumping to the solution section, let us take a quick look at some user queries that we have taken from some forum websites to elaborate the scenario more clearly:

“Recently, I came across a difficulty where spam was being delivered to an email address of an old employee. I was sure that the previous employee did not have any mailbox, but I was not confident that the address was not being utilized as an alias on another account. Since I did not remember that where I pointed the alias so now, I want to view all aliases in Office 365? Help me to know how can I get a list aliases or how Office 365 view all aliases effectively?”

“Hi everyone, I have been using Exchange PowerShell to find the list of all user’s primary SMTP address along with every alias SMTP addresses that a user may have. For example of what I am after is:
[email protected] Primary SMTP
[email protected] alias 1
[email protected] alias 2
[email protected] Primary SMTP
[email protected] alias1
and so on…
I have tried multiple ways to get this kind of list but none do what I am after. Any suggestions about how Office 365 show all aliases? Thank you!”

Techniques to Reveal How Office 365 View all Aliases & Email Address

If you want to generate a list of all the email recipients whether they be groups, users, or contacts you can run the Get-recipient cmdlet. By default, this command will only return the username and RecipientType properties. One can return the list of Email Addresses via piping the objects into a Select statement and prefer to return the RecipientType, Displayname, and EmailAddresses attributes.

Step 1: Open PowerShell

    • Click on Start, and hit a right-click on Windows Azure Active Directory Module for Windows PowerShell and choose Run as Administrator option.

Windows Azure Active Directory Module for Windows PowerShel

    • This will open Administrator: Windows Azure Directory window

open Administrator

Step 2. Connect PowerShell with Office 365

    • For connecting your Office 365 account with PowerShell, execute the following command
$UserCredential = Get-Credential
    • Now, you will get the Windows PowerShell Credential Request prompt. Here, enter the Global Administrator username and password to connect with Office 365 account

 username and password to connect with Office 365

    • After logging in, another wizard will appear that includes a warning message and you can simply ignore that warning message (in yellow)

ignore that warning message

Step 3: Generate List of Email Aliases

    • Now, you need to initiate the remote session. For this run below command:
$importresults = Import-PSSession $Session
    • Once it gets connected successfully, you can execute below script to generate a list of email aliases:
Get-Mailbox | Select-Object DisplayName,@{Name=”EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_ -LIKE “SMTP:*”}}} | Sort | Export-Csv C:\email-aliases.csv
    • Sometimes it seems easier to export the results in a CSV file because of the number of groups and email addresses can have assigned. After exporting you can search or manipulate the information using Excel. Below is the command to get a CSV file:
Get-Recipient | Select DisplayName, RecipientType, EmailAddresses | Export-Csv EmailAddresses.csv

view

    • In case, if you are only interested in primary email address then, utilize Select to return the DisplayName as well as PrimarySmtpAddress attributes. Run below-mentioned command for this:
Get-Mailbox |Select-Object DisplayName,PrimarySmtpAddress
    • The table list will be displayed for all the mailboxes along with all email addresses and all aliases.
Exit-PSSession

Looking For a Smart Approach to Extract Data from Office 365 Mailboxes?

The SysTools Office 365 Export Tool is an eminent way to export all data items from Office 365 mailbox/ archive mailbox into PST / EML / MSG file formats. This will definitely help to view all aliases in Office 365 account easily in view simple steps. Using this, one can extract emails, contacts, calendars, tasks, etc., from Office 365 mailboxes. The software provides an option to regain limited as well as precise data falling under a specific time interval. One can run this tool on all versions of Windows OS.

Free Download Purchase Now

In Summation

There come times, when we all need to figure out who is actually holding a particular email address or alias as it is pretty easy to lose track of aliases. This is so because they do not display in the list of users either in the Exchange Control Panel or in the admin center. Hence, users ask how Office 365 view all aliases and email address. In this technical guide, we have disclosed a simple method that can generate a list for all the mailboxes and email addresses along with steps to show or view all aliases in Office 365. Apart from this, if someone needs to export the data items from Office 365 mailboxes then, a third-party tool is also recommended here.

  author

By Ashwani Tiwari

Being a Chief Technical Analyst, I am aware of the technicalities faced by the user while working with multiple technologies. So, through my blogs and articles, I love to help all the users who face various challenges while dealing with technology.