--- title: "How-to configure User Provisioning desktop application in DocuWare on-premises 7.15" slug: "configure-user-provisioning-docuware-on-premises-7-15" updated: 2026-11-24T11:03:46Z published: 2026-11-24T11:03:46Z canonical: "knowledgecenter.docuware.com/configure-user-provisioning-docuware-on-premises-7-15" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledgecenter.docuware.com/llms.txt > Use this file to discover all available pages before exploring further. # How-to configure User Provisioning desktop application in DocuWare on-premises 7.15 User Provisioning application synchronizes users and groups from an on-premises Active Directory into DocuWare. You connect your directory to DocuWare once. After that, new accounts, group memberships, and status changes are transferred on a schedule, and you no longer maintain the accounts in DocuWare by hand. Setting it up takes four parts. You register an application in **DocuWare Configurations > Integrations > App Registration**, and select the provisioning source in **DocuWare Configurations > General > User Provisioning**. Then you connect your directory to the User Provisioning Configurator, a desktop application installed with DocuWare. Finally, you schedule the synchronization in the Windows Task Scheduler. This article is for administrators of DocuWare on-premises 7.15 and later. To synchronize from a cloud identity provider instead, see [Configure Cloud Identity Provider with On-Premises DocuWare 7.15](/help/docs/user-provisioning-for-docuware-on-premises-715). - For 7.14, see [How to configure the User Provisioning desktop application in DocuWare on-premises 7.14](/help/docs/configure-user-provisioning-desktop-application-docuware-714). - For 7.12 and 7.13, see [Information for User Provisioning with DocuWare on-premises 7.12 or 7.13](/help/docs/configure-user-provisioning-on-premises-712-713). ## Prerequisites To synchronize users from an on-premises Active Directory, the following prerequisites must be met: - The account that runs the synchronization can read all user properties you want to synchronize in Active Directory. - An SMTP server is configured in DocuWare, if new users should receive a registration email. > [!NOTE] > Tip: Configure the SMTP server before the first synchronization > > New users receive a registration email with a password reset link that is valid for 3 hours. Without an SMTP server, DocuWare cannot send it, and the performance of the system can suffer. ## Registering the User Provisioning application In this part, you create an application registration in DocuWare. It lets the User Provisioning Configurator log in to DocuWare. At the end of the part, you have the four values the Configurator needs. 1. Go to **DocuWare Configurations > Integrations > App Registration** and select **New app registration**. 2. In the **Create Application Registration** dialog, select **Web application** and click **Continue**. ![Create Application Registration dialog with Web application selected](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/image-20241206-071540.png) 3. Enter a name for the application. 4. Under **Access**, select the grant type **Client Credentials** and click **Save**.![Application registration with the grant type Client Credentials selected under Access](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/App registration-20261030-075029.png) 5. Copy the **Application (Client) ID** and the client secret. DocuWare generates the secret when you save the application registration, and shows it once. Store it in a safe place. 6. Go to **DocuWare Configurations > General > User Provisioning** and turn on **Enable User Provisioning**. 7. Under **Identity Provider**, select the provisioning source **On-premises identity provider**. 8. Copy the **Tenant URL** and the **Token Endpoint**. ![User Provisioning plugin in 7.15 with the source On-premises identity provider, Tenant URL and Token Endpoint](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-03a-provisioning-source-715.png) You now have the four values that the Configurator needs: the **Application (Client) ID**, the client secret, the **Tenant URL** and the **Token Endpoint**. ## Connecting the Configurator to DocuWare The User Provisioning Configurator is a desktop application. One configuration file holds the connection to DocuWare and one or more directory configurations. 1. Open `UserProvisioningConfigurator.exe` , which is the setup tool for User Provisioning. You can find it in `C:\Program Files (x86)\DocuWare\Power Tools\UserProvisioningConfigurator`. 2. Click **Create Configuration File**. 3. In the **Select DocuWare environment** dialog, select **DocuWare On-Premise** and click **Continue**. ![Select DocuWare environment dialog with DocuWare On-Premise selected](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-04-select-docuware-environment.png) 4. Under **Provisioning connection**, enter the four values from the previous part: ![Provisioning connection with the four DocuWare values and the Test Connection button](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-05-provisioning-connection-fields.png) - **App registration client id** - **App registration client secret** - **User Provisioning tenant URL** - **Token endpoint URL** 5. Click **Test Connection**. The **DocuWare connection test** dialog reports whether the Configurator reached the User Provisioning Service. Close the dialog. ![DocuWare connection test dialog reporting a successful connection](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-06-docuware-connection-test.png) ## Configuring the connection to Active Directory A configuration describes one directory: which server to read, which objects to synchronize, and which groups to provision. Create one configuration for each directory server. 1. Click **Add Configuration**. ![User Provisioning Configurator with the Add Configuration button](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-07-add-configuration.png) 2. Optional: Click the pencil next to **New configuration** to rename the configuration. 3. In the **General** tab, check the general settings. **Active** includes this configuration in the synchronization. **Create Document Tray** gives every new user a document tray, and **Send Registration Email** sends them a registration email. ![General tab with the settings Active, Create Document Tray and Send Registration Email](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-08-general-tab.png) 4. In the **Connection** tab, select the **AD Type**, **LDAP** or **MSAD**. Then enter the server address, the port, and the user name and password of the account that reads the directory. In **Base DN**, enter the part of the directory to read. The base DN follows the LDAP syntax, for example `DC=example,DC=com` or `OU=IT,DC=company,DC=org`. ![Connection tab with the AD type, server address, port, user name and base DN](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-09-connection-tab.png) 5. The **Objects** and **Mappings** tabs are already filled in for the directory type you selected. Change them only if your directory uses other attributes. 6. Optional: To give new users a network ID, turn on **Create Network ID** in the **Domain Information** tab. Enter the domain name, and set the attribute to read it from, for example `sAMAccountName`. > [!NOTE] > Information: The network ID is set only for new users > > DocuWare writes these attributes when it creates a user. It does not update them for users that already exist. The option works for DocuWare on-premises only. 7. In the **Groups** tab, click **Connect to AD**. ![Groups tab before the connection, with the Connect to AD button](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-10-groups-connect-to-ad.png) 8. Under **Group Selection**, select the groups you want to provision. They move from **Available Groups** to **Selected for Provisioning**. Use the search field to find a group, or **Select All** to take all of them. ![Group selection with the available groups and the groups selected for provisioning](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-11-group-selection.png) 9. Click **Test Configuration**. ![Groups tab with three groups selected for provisioning and the Test Configuration button](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-12-test-configuration.png) 10. In the **Active Directory connection test** dialog, check the **Connection Verification** and the **Synchronization Preview**. The preview shows how many users and groups the configuration finds. Close the dialog. ![Active Directory connection test with the connection verification and the synchronization preview](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-13-active-directory-test.png) 11. Click **Apply** to keep the configuration. 12. Go back to **Provisioning connection** and click **Save**. The configuration file is saved in `C:\ProgramData\DocuWare\UserProvisioningConfig`. ![New configuration in the sidebar, and the Save button of the provisioning connection](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-14-save-provisioning-connection.png) > [!NOTE] > Information: One configuration for each directory > > To read several servers or directories, add a configuration for each one. They all run from the same configuration file. To run the synchronization once, straight from the Configurator, click **Run**. To run it on a schedule, set up a Windows task as described in the next part. ## Scheduling the synchronization The synchronization runs as a Windows task that calls `UserProvisioning.exe` with your configuration file. The `UserProvisioning.exe` is in the DocuWare installation folder and transfers the users to DocuWare. 1. In the **Configuration Files** list, click the copy icon next to your configuration file. This copies its name, which you need as the argument of the task. ![Configuration files with the icon that copies the name of the configuration file](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-15-copy-configuration-file-name.png) 2. Open the **Windows Task Scheduler** and click **Create Basic Task**. ![Windows Task Scheduler with the Create Basic Task command](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-16-task-scheduler-create-basic-task.png) 3. Enter a name for the task and click **Next**. ![Create Basic Task wizard with the name of the task](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-17-task-name.png) 4. Choose how often the synchronization runs, for example **Daily**, and click **Next**. Then set the start date and time. ![Trigger step of the wizard with the option Daily](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-18-task-trigger.png) 5. As the action, select **Start a program** and click **Next**. ![Action step of the wizard with the option Start a program](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-19-task-action.png) 6. In **Program/script**, click **Browse** and select `UserProvisioning.exe` in `C:\Program Files (x86)\DocuWare\Power Tools\UserProvisioning`. ![Start a Program step with the empty fields for the program and the arguments](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-20-task-start-a-program-empty.png) 7. In **Add arguments**, paste the name of your configuration file, for example `userProvisioning_config_1.json`. This is the file you had as output after running the `UserProvisioningConfigurator.exe`. Then click **Next**. ![Start a Program step with UserProvisioning.exe and the configuration file as the argument](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-21-task-start-a-program-filled.png) 8. Check the summary and click **Finish**. After the first run, the **General** tab of the configuration shows the **Synchronization result**: when it last ran, and how many users and groups were synchronized successfully or failed. ![Synchronization result on the General tab with the last synchronization and the number of users and groups](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/up-22-synchronization-result.png) To synchronize users and groups again that failed, set **Last synchronized** to an earlier date and let the task run again. The logs are in `C:\ProgramData\DocuWare\Logs\UserProvisioning`. ## Effects of directory changes on DocuWare users User Provisioning transfers changes from your directory to DocuWare. Not every change in the directory has an effect in DocuWare. > [!NOTE] > Important: Deactivate a user in Active Directory > > Removing a user from a provisioned group does not deactivate the user in DocuWare. It only removes the user from the group. To deactivate a user in DocuWare, deactivate the account in Active Directory. The following table shows how changes in an external directory, such as Active Directory, affect the users in DocuWare: | **Change in the external directory** | **What User Provisioning does** | **Result in DocuWare** | | --- | --- | --- | | The user is deactivated | Transfers the status | The user is deactivated | | The user is moved out of a provisioned group | Detects that the user no longer belongs to the group | The user stays active | | The user is deleted from the directory | Transfers nothing, unless the group changes or you reset the timestamp. Then it removes the user from the group. | The user stays active | > [!NOTE] > Information: Deleted users are not detected > > User Provisioning synchronizes the users it knows. When you delete a user from the directory, it does not see the change on its own. It sees it only when the provisioned group changes too, for example through a membership change or a reset of **Last synchronized**. DocuWare then removes the user from the group, but the user stays active. > [!NOTE] > Tip: Use userPrincipalName for single sign-on with ADFS > > If you use single sign-on with ADFS as the identity provider, map the user name to **userPrincipalName**. ## Supported versions: DocuWare on-premises 7.15