Prerequisites
- You must install and configure Azure AD Connect for the hybrid environment.
-
The user account that is used for performing back synchronization configuration must have the following privileges:
-
User Administrator
-
Exchange Administrator
-
Application Administrator
-
-
For the back synchronization to work as expected, install the Windows Azure Active Directory (Azure AD) module version 2.0.0.131 or later.
-
You must enable the Directory Writers Role in Azure Active Directory. To enable the role, run the following script:
$psCred=Get-Credential
Connect-AzureAD -Credential $psCred
$roleTemplate = Get-AzureADDirectoryRoleTemplate | ? { $_.DisplayName -eq "Directory Writers" }
# Enable an instance of the DirectoryRole template
Enable-AzureADDirectoryRole -RoleTemplateId $roleTemplate.ObjectId
-
For the back synchronization to work as expected, the user in Active Roles must have write permissions for edsvaAzureOffice365Enabled, edsaAzureContactObjectId and edsvaAzureObjectID. The user must also have a local administrator privilege where the Active Roles synchronization service is running.
To configure Azure BackSync in Active Roles Synchronization Service
-
In the upper right corner of the Synchronization Service Administration Console, select Settings > Configure Azure BackSync.
The Configure BackSync operation in Azure with on-premises Active Directory objects dialog is displayed.
-
In the dialog that opens:
-
Enter the Azure domain valid Account ID credentials, and click Test Office 365 Connection.
-
Specify whether you want to use a proxy server for the connection. You can select one of the following options:
-
Use WinHTTP settings: Prompts the connector to use the proxy server settings configured for Windows HTTP Services (WinHTTP).
-
Automatically detect: Automatically detects and uses proxy server settings.
-
Do not use proxy settings: Specifies to not use proxy server for the connection.
On successful validation, the success message that the Office 365 Connection settings are valid is displayed.
-
-
Enter the valid Active Roles account details and click Test Active Roles Connection.
On successful validation the success message that the Active Roles connection settings are valid is displayed.
-
-
Click Configure BackSync.
The Azure App registration is done automatically. The required connections, mappings, and workflow steps are created automatically.
On successful configuration the success message is displayed.
If the Azure BackSync settings are already configured in the system, a warning message is displayed to confirm whether you want to override the existing back synchronization settings with the new settings.
-
To override the existing back synchronization settings with the new settings, click Override BackSync Settings.
-
To retain the existing back synchronization settings, click Cancel.
-