Creating a Microsoft Azure Active Directory connector with manual configuration
reads and writes data in Microsoft Azure Active Directory by using an Azure application in your Microsoft Azure Active Directory environment. To create a connection to Microsoft Azure Active Directory, use the Microsoft Azure AD Connector of the Active Roles .
You can create an Azure AD connector by configuring an Azure application manually in the Console. One Identity recommends using Manual configuration if you want to use an existing Azure application for the connection.
To create a new Azure AD connector with manual configuration
-
In the Console, open the Connections tab.
-
Click Add connection, then use the following options:
-
Click Next.
-
To use an existing Azure application, select Manual configuration.
NOTE: Alternatively, you can also select Auto configuration to use and update an existing Azure application. Under Auto configuration, click Log in to Azure. After logging in to Azure with your tenant, the Tenant ID, Application ID and Certificate thumbprint parameters are automatically filled in.
-
Enter the Tenant ID, Application ID, and Certificate thumbprint of the Azure tenant as they appear on the Azure portal.
-
To test the connection with the new parameters, click Test connection.
-
To finish creating a connection to Azure AD, click Finish.
Creating a Microsoft Azure Active Directory connector with automatic configuration
reads and writes data in Microsoft Azure Active Directory by using an Azure application in your Microsoft Azure Active Directory environment. To create a connection to Microsoft Azure Active Directory, use the Microsoft Azure AD Connector of the Active Roles .
You can create an Azure AD connector by configuring an Azure application automatically in the Console. One Identity recommends using Auto configuration if you want to create a new Azure application for the connection.
To create a new Azure AD connector with automatic configuration
-
In the Console, open the Connections tab.
-
Click Add connection, then use the following options:
-
Click Next.
-
To create a new Azure application or update an existing one, select Auto configuration.
NOTE: If you have more than one Azure Active Directory (Azure AD) service in your Azure tenant, select I have more than one Azure AD in my Azure tenant, and use the Tenant ID field to specify the GUID of the Azure AD for which you want to set up synchronization. For more information, see Finding the GUID (Tenant ID) of an Azure AD for Azure BackSync.
-
Select one of the following options based on the number of Azure AD services in your Azure tenant:
-
Authenticate your access to Azure AD:
-
If you have selected I have one Azure AD in my Azure tenant, click Log in to Azure to authenticate your access to Azure AD.
-
If you have selected I have more than one Azure AD in my Azure tenant, in Tenant ID, enter the GUID of the Azure AD for which you want to set up synchronization.
After specifying the tenant ID, authenticate your access to Azure AD by clicking Log in to Azure.
NOTE: If you select I have more than one Azure AD in my Azure tenant, the Log in to Azure button will be enabled only if you specify a well-formed Azure AD GUID in the Tenant ID text box.
-
Azure application name: Enter the name of the new or existing Azure application.
-
To create or update the Azure application in Azure AD, click Create or update Azure application.
The created or updated Azure application has the following directory roles assigned to it:
-
Directory Writers
-
Exchange Administrator
-
User Administrator
The following permissions are also added, for which you must give admin consent:
NOTE: You may need to set additional permissions depending on your needs.
-
To give admin consent for the permissions of the Azure application, click Consent. Then, in the Azure Tenant Consent dialog, click Accept.
-
To test the connection with the new parameters, click Test connection.
-
To finish creating a connection to Azure AD, click Finish.
Configuring an Azure application for a Microsoft Azure Active Directory connection using a script
reads and writes data in Microsoft Azure Active Directory by using an Azure application in your Microsoft Azure Active Directory environment.
To create an Azure AD connection by configuring an Azure application using a Windows PowerShell script, perform the following steps.
To configure an Azure application for an Azure Active Directory connection using a Windows PowerShell script
-
Create an application in any domain of your Microsoft Azure Active Directory environment. The application must have sufficient permissions to read and write data in Microsoft Azure Active Directory.
You can assign the required permissions to the application by running a Windows PowerShell script. To run the script, you need to install Microsoft Azure PowerShell on your computer.
Script example
# Replace <ClientId> with the Client ID of the Active Roles Azure AD Connector Application (example format: 455ad643-332g-32h7-q004-8ba89ce65ae26)
$Id = “<ClientId>”
# Prompt for Microsoft Azure AD Global Admin credentials.
Connect-AzureAD
# Get the Principal ID of the Active Roles Azure AD Connector Application and save it to the $servicePrincipal variable
$servicePrincipal = Get-AzureADServicePrincipal -All $true | Where-Object {$_.AppId -eq $Id}
# Get the required role ID from the Active Roles Azure AD Connector Application and save it to the $roleId variable
$roleId = (Get-AzureADDirectoryRole | Where-Object {$_.displayName -eq 'Company Administrator'}).ObjectId
# Assign the required permissions to the Active Roles Azure AD Connector Application
Add-AzureADDirectoryRoleMember -ObjectId $roleId -RefObjectId $servicePrincipal.ObjectId
-
Open the application properties and copy the following information:
-
Tenant ID
-
Application ID
-
Certificate thumbprint
-
When creating a new Microsoft Azure Active Directory connection or modifying an existing one in the Console, enter the Tenant ID, Application ID, and Certificate thumbprint of the Azure tenant as they appear on the Azure portal. For more information, see Creating a Microsoft Azure Active Directory connection.
Modifying a Microsoft Azure Active Directory connection
(missing or bad snippet)
You can modify the settings of an existing Azure AD connector in the Console.