Configure Office 365 For SharePoint Hybrid

In this article, we will explore how we can configure the underlying infrastructure to create a hybrid environment with SharePoint Server and Office 365.

Overview

 
While setting up the hybrid scenario, we have to plan out certain steps on the SharePoint Server and Office 365. Setting up a common UPN between these two environments is a crucial step to start with.
 
In this article, we will explore how we can configure the underlying infrastructure to create a hybrid environment with SharePoint Server and Office 365.
 
Prerequisites
 
It is important to have an Office 365 subscription and a registered public domain so that we can set up matching UPN (User Profile Name). It will help to synchronize local active directory with Office 365.
  1. Sign up for Office 365
  2. Get the Public Domain (from Office 365 supported vendors like GoDaddy.com or from any 3rd party vendor)
  3. Register Public Domain with Office 365

Add UPN suffix to the Local AD

 
The basic requirement is to have UPN configured in the local active directory matching with the public domain name created and registered with Office 365. For example, if a public domain registered with Office 365 is SharePointRocks.com, then the same should be used as a UPN suffix to be added to the local active directory.
 

Add Office 365 registered UPN suffix

 
As a first step, we need to add a UPN (User Profile Name) suffix that matches the public domain to the Local AD.
  • Open "Active Directory Domain and Trusts".
  • Right-click the root node, click "Properties".
Configure Office 365 For SharePoint Hybrid
  • Add Office 365 registered UPN suffix. Click "OK".
Configure Office 365 For SharePoint Hybrid
 

Update UPN for a single user

  • Open "Active Directory Users and Computers".
  • Select any user to change the UPN.
  • Change the existing local domain to new UPN. Click "OK".
Configure Office 365 For SharePoint Hybrid
 

Manage Office 365 Directory from Azure Active Directory

 
We have to synchronize the on-premises local active directory with the Office 365 directory. For this, we will enable the management of Office 365 directory from Azure.
  • Open MS Azure portal (https://portal.azure.com).
  • Click Azure Active Directory > Azure AD Connect.
  • Click "Use Azure AD Connect to integrate your Azure AD with your Windows Server AD or another directory on your network".
Configure Office 365 For SharePoint Hybrid 
  • This will navigate to the Microsoft Downloads Center.
  • Download Microsoft Azure Active Directory Connect.
  • Double-click the downloaded file to install.
  • Check “I agree to the license terms and privacy notice.” Click "Continue".
Configure Office 365 For SharePoint Hybrid 
  • Click “Use express settings” to configure the identities of local AD and synchronize. For more configuration options, click “Customize”.
Configure Office 365 For SharePoint Hybrid 
  • Specify the Office 365 administrator credentials. Click "Next".
Configure Office 365 For SharePoint Hybrid 
  • Enter the active directory domain services enterprise administrator credentials. Click "Next".
Configure Office 365 For SharePoint Hybrid 
  • Select “Continue matching all UPN suffixes to verified domains” checkbox. Click "Next".
Configure Office 365 For SharePoint Hybrid 
  • The wizard is now ready to configure. It will configure or install the following - 

    • install the synchronization engine;
    • configure Azure AD connector for Office 365;
    • configure local AD connector;
    • enable password hash synchronization;
    • enable auto upgrade;
    • configure synchronization services on the installed machine. 
Configure Office 365 For SharePoint Hybrid 
  • The service configurations will take place. This will take some time to connect to both the active directories and synchronize the users. 
Configure Office 365 For SharePoint Hybrid 
  • Once the configuration is complete, check for any errors and warnings to fix. Click "Exit". 
Configure Office 365 For SharePoint Hybrid 
 

Verify User Sync

 
All users from the local AD should now be replicated to Office 365.
  • Open Microsoft 365 Admin Center.
  • On the left menu, click Users >> Active users.
Configure Office 365 For SharePoint Hybrid 
 

Assign Licenses to Users

 
Once the accounts are synchronized, they should have a license of Office 365 in order to use hybrid features.
  • Select the user to assign a license.
  • Click Product licenses >> Edit.
Configure Office 365 For SharePoint Hybrid 
  • Select the location for the user. Turn on the required licenses for the user.
Configure Office 365 For SharePoint Hybrid
  • Click "Save".

Summary

Setting up common UPN (User Profile Name) between SharePoint Server and Office 365 environments is important in order to synchronize the users. This will help to set up a hybrid scenario. I hope now you know how to do so.