Skip to content

Configure the replication settings (Cloud only)

Defining the replication settings in the WorkZone Active Directory Connector form for an Entra ID authentication is identical to defining the replication settings, for example, for an on-site client-server environment, but you must also define the Entra ID app registration for the Entra ID authentication in WorkZone. User authentication is performed in Entra ID where an app registration is used for WorkZone Cloud to authenticate the users.

To register the application in your Entra tenant, you can run the designated script that is delivered with the wzActiveDirectoryReader installer.

Run the script with the following parameter:

\AdReaderConfigure.ps1 -TenantId [guid]

When you have run the script, it should provide the following output. It is important that you copy and paste this information locally as you will need it later.

ClientPortalUrl: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/[Guid: Application Client ID]
Client ID: [Guid: Application Client ID]
Client Secret: [Application Client Secret]
Enterprise Application Object ID: [Guid: Application Service Principal]

Register the app manually on the Azure Portal

Section titled “Register the app manually on the Azure Portal”

The first steps in the app registration process is similar to third-party app registration. See Set up third-party integrations in Azure.

  1. In your Entra tenant, go to App registrations and create a new app registration.
  2. Fill in the name of the app (The recommended name is kmd-workzone-ad-reader), and click Register.
  3. Go to Certificates & secrets, add a client secret or a certificate, and then click Create.

    Immediately after clicking Create, copy the client secret and paste it to, for example Notepad, as you will need it later. This is the only time that the client secret is shown. If you do not copy it right away, you have to create a new client secret.

  4. Go to Enterprise applications > All applications to see the object ID (Enterprise Application Object ID) for the app registration.

Configure active directory replication for an Azure environment

Section titled “Configure active directory replication for an Azure environment”

You can either create a new active directory connector configuration with the wizard and then configure the file manually, or edit an existing configuration directly.

  1. On the on-site server, run the wzActiveDirectoryReader.exe program with administrator privileges to open the WorkZoneActive Directory Connector form.
  2. In the WorkZoneActive Directory Connector form, click Edit to open the WorkZone Active Directory Connector Configuration form.
  3. In the WorkZone Active Directory Connector Configuration form > Client Secret field, enter the Entra ID authentication client secret that you have saved during one of the previous steps.
  4. Set up all other active directory connector configuration settings as you normally would for replicating the active directory in a solely on-site environment and click Save to save your changes.

The Entra ID authentication client secret or certificate for active directory replication

Section titled “The Entra ID authentication client secret or certificate for active directory replication”

To connect to the WorkZone database in the Azure environment, you must specify the Entra ID authentication client secret in the WorkZone Active Directory Connector Configuration form or the certificate path in the configuration file. If the Entra ID authentication client secret is incorrect or omitted, the Active Directory replication will fail.