You want to create mailboxes in Exchange Online and use Office 365. Before you can…
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.
Table of contents
Exchange Management Shell for on-premises
Sign 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.
Note: 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.
Note: 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
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
Sign in to the on-premises Exchange admin center. In the top row, we see the Enterprise organization and the administrator account which we are signed in with. The on-premises mailboxes are listed.
Click the Office 365 icon in the toolbar. The Office 365 Exchange admin center shows up. If you are not yet signed in to Office 365, you have to sign 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.
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.
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.
In the next article, we will look at how to Assign Office 365 licenses with Azure group-based licensing.
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 Server. Don’t forget to follow us and share this article.