skip to Main Content

Exchange hybrid management tools

In the previous article, we did configure a hybrid configuration. Now that’s in place, let’s look at how to manage both the on-premises Exchange and the Exchange Online organization. In this article, you will learn how to install and use the Exchange management tools in a hybrid environment.

Exchange Management Shell for on-premises

Log in to the Exchange Server and run Exchange Management Shell as administrator. Another way, which we do recommend, is to install the Exchange Management Tools on a management server or a workstation. After that, run Exchange Management Shell from there.

Run Exchange Management Shell to manage Exchange on-premises organization.

Run the Get-Mailbox cmdlet, and the output will show the on-premises mailboxes.

[PS] C:\>Get-Mailbox | Sort-Object Name

Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
Administrator             Administrator        ex02-2016        Unlimited
Ali Tajran                Ali.Tajran           ex02-2016        Unlimited
Alysia Maverick           Alysia.Maverick      ex02-2016        Unlimited
Amanda Morgan             Amanda.Morgan        ex01-2016        Unlimited
Boris Campbell            Boris.Campbell       ex02-2016        Unlimited
Grace Rees                Grace.Rees           ex02-2016        Unlimited
John Maverick             John.Maverick        ex02-2016        Unlimited

The Get-ExchangeServer cmdlet will show the Exchange Servers in the organization.

[PS] C:\>Get-ExchangeServer

Name                Site                 ServerRole  Edition     AdminDisplayVersion
----                ----                 ----------  -------     -------------------
EX01-2016           exoip.local/Confi... Mailbox     Enterprise  Version 15.1 (Bu...
EX02-2016           exoip.local/Confi... Mailbox     Enterprise  Version 15.1 (Bu...

Exchange Online PowerShell for Exchange Online

Install Exchange Online PowerShell v2 module on the server or workstation that you will manage Exchange Server from. Just like in the previous step, we will install the Exchange Online PowerShell module on the workstation.

Run Windows PowerShell to manage Exchange Online organization.

Connect to Exchange Online PowerShell from Windows PowerShell. You will get a prompt to enter your credentials. After validation, you get back to Windows PowerShell.

PS C:\> Connect-ExchangeOnline

Run the cmdlet Get-Mailbox or use the new PowerShell cmdlet Get-EXOMailbox. The output shows that we don’t have any mailboxes in Exchange Online. The results are only the Discovery Search Mailbox.

PS C:\> Get-Mailbox | Sort-Object Name

Name                      Alias           Database                       ProhibitSendQuota    ExternalDirectoryObjectId
----                      -----           --------                       -----------------    ------------------------- 
DiscoverySearchMailbox... DiscoverySea... EURP195DG023-db053             50 GB (53,687,091...

Do you want to see the on-premises mailboxes? Run the Get-MailUser cmdlet.

PS C:\> Get-MailUser | Sort-Object Name

Name                                     RecipientType
----                                     -------------
Ali Tajran                               MailUser
Alysia Maverick                          MailUser
Amanda Morgan                            MailUser
Boris Campbell                           MailUser
Grace Rees                               MailUser
John Maverick                            MailUser

The Get-ExchangeServer cmdlet will not list the Exchange Servers in the cloud. That’s because you don’t have access to everything.

PS C:\> Get-ExchangeServer
Get-ExchangeServer : The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-ExchangeServer
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Exchange admin center for on-premises and Exchange Online

Log into the on-premises Exchange admin center. In the top row, we see the Enterprise organization and the administrator account which we are logged in with. The on-premises mailboxes are listed.

Exchange hybrid management tools on-premises

Click the Office 365 icon in the toolbar. The Office 365 Exchange admin center shows up. If you are not yet logged in to Office 365, you have to log in with your Office 365 admin credentials.

Do you want to use a different browser tab for Office 365 Exchange admin center? Go to https://outlook.office365.com/ecp/.

There are no mailboxes in Exchange Online. That’s because we did not create mailboxes in Exchange Online, nor did we migrate any mailboxes yet.

Exchange hybrid management tools Exchange Online

What about the Active Directory synchronization and the unified global address list user experience? Go to recipients > contacts. In Exchange Online, the on-premises mailboxes show up as contacts. With a contact type Mail user.

Exchange hybrid management tools mail user contacts

Microsoft 365 admin center for Exchange Online

Since Microsoft is actively developing the Microsoft 365 admin center, and not everything is added to the Office 365 Exchange admin center, it’s good to open the Microsoft 365 admin center and use that when in need.

Exchange hybrid management tools Microsoft 365 admin center

That’s it.

In the next article, we will look at how to sync and manage Exchange Online licenses.

Conclusion

In this article, you learned how to manage Exchange hybrid. There is more than a single tool to manage an Exchange hybrid environment. Use Exchange Management Shell, Exchange Online PowerShell, Exchange admin center, and Microsoft 365 admin center for all the tasks. Microsoft did write an excellent document about Hybrid management in Exchange hybrid deployments.

Did you enjoy this article? You may also like the article How to export certificate in Exchange 2016. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top