Back

Creating an Office 365 Mailbox in a Hybrid Configuration

When working with customers in Exchange hybrid configurations they often have questions about creating Office 365 mailboxesin Exchange Online Your...

4 min read
Published on Apr 4, 2017
office-365-mailbox-hybrid-configuration

When working with customers in Exchange hybrid configurations, they often have questions about creating Office 365 mailboxes in Exchange Online. Your organization might have existing processes for adding new users that will likely need to adapt to Office 365 after the migration.

In this guide, we’ll discuss the different methods of creating Office 365 mailboxes in an Exchange hybrid configuration.

Options to Create Office 365 Mailboxes

There are two ways to properly create an Office 365 mailbox in an Exchange hybrid configuration. One is via a more user-friendly GUI and the other is through Exchange PowerShell (for those of you who love automation).

Here’s how to create Office 365 mailboxes using both methods:

Option 1: Add New Users in the Exchange Admin Center (Exchange 2013 and 2016)

This is the simplest way to create an Office 365 mailbox. The process of creating an AD user and setting up the mailbox can be completed in one place and in one step.

The main disadvantage of the Exchange Admin Center is that it only lets you create a new Active Directory account for the user. To create a mailbox for an existing AD user, you’ll need to use PowerShell. Alternatively, you could give that user an on-premises mailbox and then migrate the mailbox to Office 365.

Here’s how to get started using the Exchange Admin Center:

  1. Log into the Exchange Admin Center here: https://mail.contoso.com/ecp.
  2. In the Exchange Admin Center of your on-premises hybrid server, jump over to Recipients > Mailboxes and hit the plus sign right above the “Display Name” column. You’ll notice one of the options is a new “Office 365 mailbox.” ![Office 365 mailbox hybrid] (/wp-content/uploads/2016/11/hybrid-office365-300x188.png)
  3. Complete the information in the Dialog Box and click Save. Once saved, you can edit the user’s mailbox properties to add information such as title, manager, address and phone number.

If you’re creating an Office 365 mailbox this way, there’s no need to set up an AD account for the user beforehand. As part of this process, Exchange automatically creates the AD object for the user in the OU you specify. Simply fill out the details and click save.

creating an office 365 mailbox

4. Sync the directory using AD Connect.  

On the next synchronization of AD Connect (either automatic or forced), your user will show up in Office 365 and an Exchange Online mailbox provisioned shortly after. Once the user is synced, you’re free to assign the appropriate license to the account.

To force a manual directory sync, log in to the Azure AD Connect server, open an Administrative PowerShell window and execute the following command:

  • Start-ADSyncSyncCycle -PolicyType Delta

5. License the User.

  1. Browse to https://portal.office.com
  2. Click the tiles icon and select the Admin tile
  3. Navigate to Users and select Active users licensing office 365 user accounts
  4. Select the user in question, locate the Product Licenses field and click Edit
  5. Choose a location then click the slider to activate an available license product licenses office 365 business essentials
  6. At the bottom of the Product licenses pane, click Save

Related Content: What to Consider in an Office 365 Hybrid Exchange Deployment

Option 2: Use Exchange PowerShell (Exchange 2010, 2013, and 2016)

You would use the Exchange PowerShell method for one of two reasons: to automate account provisioning or to grant an Office 365 mailbox to an existing AD user. You can also use this method to add Exchange Online mailboxes to the view in the on-premises Exchange Admin Center.

To create an Office 365 mailbox for an existing user, the command we’ll be using is [enable-remotemailbox](https://technet.microsoft.com/en-us/library/ff607313(v=exchg.160).aspx).

A general example would be: [code language=“PowerShell”] enable-remotemailbox -Identity <UserIdParameter> -remoteroutingaddress <ProxyAddress> [/code] proxy address More specifically, for the demo user from the EAC instructions, we would use enable-remotemailbox -identity “Demo User”-remoteroutingaddress demo.user@agileit.mail.onmicrosoft.com.

The proxy address will always be @tenant.mail.onmicrosoft.com

Why Use These Methods to Create an Office 365 Mailbox?

It’s possible to simply create the Office 365 account in Active Directory, wait for AD Connect to sync the user to Office 365 and license the account. But creating new mailboxes this way never fills in the correct Exchange attributes on the user’s AD account, which causes them to not display in the local EAC.

This could also cause the inventory of your on-premises AD Connect domain and Azure AD domain to show incorrect data and conflicting information.

mailbox properties

We hope you found this guide helpful for creating new mailboxes in your Office 365 hybrid configuration.

Have more questions or need help managing your hybrid Office 365 environment? Agile IT is a proven expert in Office 365 cloud migration. We offer affordable migration plans that get you to the cloud seamlessly, on time and on budget.

Request a Quote

This post has matured and its content may no longer be relevant beyond historical reference. To see the most current information on a given topic, click on the associated category or tag.

Related Posts

DFARS Compliance in Office 365

DFARS Compliance in Office 365

Learn how Microsoft Office 365 GCC High and Azure Government help DOD contractors meet DFARS compliance. Discover the steps to protect CUI and ensure regulatory compliance with Agile IT's expertise.

Feb 13, 2025
7 min read
Understanding DFARS Compliance

DFARS Compliance: A Guide to Federal Cybersecurity Requirements

Learn about DFARS compliance and how it ensures the security of federal data. Explore key requirements, NIST 800-171 alignment, and tips for achieving compliance.

Feb 3, 2025
7 min read
Office 365 License Comparison: Business Plans Vs. E5, E3 and E1

Master Microsoft & CIS Benchmark Best Practices to Secure Your Environment

Discover how to implement Microsoft & CIS Benchmark best practices to strengthen your business security and protect your environment from evolving threats with expert guidance.

Jan 28, 2025
7 min read
Screen Capture Protection in Windows 365

How to Enable Screen Capture Protection in Windows 365 for Enhanced Security

Learn how to enable and use screen capture protection in Windows 365 to secure sensitive information and prevent unauthorized captures, enhancing your organization's data security.

Jan 21, 2025
7 min read
Office 365 Collaboration Tools

Office 365 Collaboration Tools: Are They Right for Your Organization?

Explore how Office 365's collaboration tools can enhance your organization's productivity and security.

Jan 12, 2025
6 min read
NIST 800 171 vs NIST 800 53

NSA Cybersecurity Collaboration: No-Cost Services Available to DoD Contractors

Learn how NSA cybersecurity collaboration provides no-cost services to DoD contractors, helping enhance security and compliance with advanced cyber protections.

Jan 10, 2025
6 min read

Ready to Secure and Defend Your Data
So Your Business Can Thrive?

Fill out the form to see how we can protect your data and help your business grow.

Loading...
Secure. Defend. Thrive.

Let's start a conversation

Discover more about Agile IT's range of services by reaching out.

Don't want to wait for us to get back to you?

Schedule a Free Consultation

Location

Agile IT Headquarters
4660 La Jolla Village Drive #100
San Diego, CA 92122

Secure. Defend. Thrive.

Don't want to wait for us to get back to you?

Discover more about Agile IT's range of services by reaching out

Schedule a Free Consultation