--- title: "Configure Cloud Identity Provider with On-Premises DocuWare 7.15" slug: "user-provisioning-for-docuware-on-premises-715" updated: 2026-11-24T11:13:20Z published: 2026-11-24T11:13:20Z canonical: "knowledgecenter.docuware.com/user-provisioning-for-docuware-on-premises-715" --- > ## 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. # Configure Cloud Identity Provider with On-Premises DocuWare 7.15 With the User Provisioning plugin in DocuWare Configurations, you connect your identity provider to DocuWare. Users and groups are then created and updated automatically, so you don't have to maintain user accounts in DocuWare manually. User Provisioning uses the System for Cross-domain Identity Management (SCIM) protocol and replaces User Synchronization 1 and 2. This article describes how to connect a cloud identity provider, such as Microsoft Entra ID, Okta or PingOne, to DocuWare on-premises. You configure the connection in DocuWare Configurations > General > User Provisioning. If you want to synchronize users from an on-premises Active Directory instead, you need the User Provisioning Configurator, a standalone application. Read more about configuring the [User Provisioning Configurator in DocuWare on-premises 7.15](/help/docs/configure-user-provisioning-docuware-on-premises-7-15). ## What User Provisioning does - Creates users: Users assigned to DocuWare in your identity provider are created as DocuWare users. - Synchronizes user attributes: Changes to the user name, email address, and active status in your identity provider are applied in DocuWare. - Disables users: Users deactivated in your identity provider are disabled in DocuWare and can no longer log in. - Creates and updates groups: Groups assigned for provisioning are created in DocuWare, and their membership is updated when it changes. ## Connecting your identity provider Your identity provider must be able to connect to your DocuWare server. You can configure this connection in one of two ways: | Connection method | When to use it | Identity providers | | --- | --- | --- | | Direct internet access | Your DocuWare server can be reached from the internet over HTTPS. The identity provider connects to it directly. | Microsoft Entra ID, Okta, PingOne, generic identity provider | | Microsoft Entra provisioning agent | Your DocuWare server can be reached only inside your network. The agent runs on a Windows server in your network. It forwards the requests from Microsoft Entra ID to DocuWare, so you don't have to open DocuWare to the internet. | Microsoft Entra ID only | > [!NOTE] > Only one provisioning source at a time > > Only one provisioning source can be active at a time. When you save **Cloud identity provider** as the source, synchronization from the on-premises identity provider stops. When you save **On-premises identity provider**, provisioning from the cloud identity provider stops. To connect a cloud identity provider: 1. Go to **DocuWare Configurations > General > User Provisioning**. 2. Turn on **Enable User Provisioning**. 3. Under **Provisioning Source**, select **Cloud identity provider**. 4. In the **Identity Provider** list, select your provider: **Azure Entra**, **Okta**, **Ping** or **Generic Identity Provider**. - For a generic identity provider, also enter an identifier. Use only letters, digits, hyphens and underscores. The identifier becomes part of the Tenant URL. 5. Under **Connection Method**, select **Direct internet access** or **Microsoft Entra provisioning agent**. - The provisioning agent is available for Microsoft Entra ID only. All other identity providers use direct internet access. 6. In the **Application Registration** list, select an existing application registration. If you want to create a new one, click **Create Application Registration** (+): 1. Enter a name for the application and click **Create**. 2. Copy the **Application (Client) ID** and the **Client secret**. The secret is shown only once, so store it in a safe place. 3. Click **Done**. 7. Under **Provisioning Options**, choose whether new users get a registration email and a document tray. - If new users get a registration email, configure an SMTP server in DocuWare, so that the email can be sent. 8. Click **Save**. **Save** is available only when the configuration is complete. The next steps depend on the connection method you selected. ## Connecting with direct internet access 1. Under **Provider Configuration**, copy the values shown. The field names follow the terms of your identity provider: ![Provider Configuration values to copy into the identity provider](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/image-0X17PGBL.png) - Microsoft Entra ID and generic identity provider: **Tenant URL** and **Token Endpoint** - Okta: **SCIM connector base URL** and **Access token endpoint URI** - PingOne: **SCIM BASE URL** and **Oauth Token Request** 2. Set up the application in your identity provider with these values. Follow the article for your identity provider: - [How to integrate Azure Entra to DocuWare User provisioning](/help/docs/how-to-integrate-azure-entra-to-docuware-user-provisioning). As the authentication method, select **OAuth2 Client Credentials Grant**. - [How to integrate Okta to User Provisioning](/help/docs/integrate-okta-user-provisioning) - [How to integrate PingOne to User Provisioning](/help/docs/integrate-pingone-user-provisioning) - [How to integrate generic identity provider to user provisioning](/help/docs/integrate-generic-identity-provider-to-user-provisioning) DocuWare builds the Tenant URL from the address you used to open DocuWare Configurations. The token endpoint points to your DocuWare Identity Service. > [!NOTE] > Use the public address > > Open DocuWare Configurations through the public address of your DocuWare server. Otherwise, the Tenant URL contains an internal address, and the identity provider can't connect. Make sure that the Tenant URL and the token endpoint can both be reached from the internet. ## Connecting through the Microsoft Entra provisioning agent To use the provisioning agent, generate a provisioning agent token in DocuWare first. Then install the agent on a Windows server in your network and connect it to DocuWare. ### Generate the provisioning agent token The provisioning agent logs in to DocuWare with the provisioning agent token. DocuWare builds this token from the client ID and a secret of the application registration. - If you created the application registration with **+**, the **Provisioning agent token** is already filled in. - If you selected an existing application registration, the **Provisioning agent token** dialog opens. To generate a new token later, click the key icon next to **Provisioning agent token**. In the **Provisioning agent token** dialog, follow these steps: 1. In **Application secret**, enter a secret of this application registration. If you want to use a new secret, click **Create new secret**. A new secret is shown only once, so store it. ![User Provisioning page with the Microsoft Entra provisioning agent and the key icon that generates the token](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/image-1QETL8WS.png) 2. Click **Generate token**. ![Provisioning agent token dialog with the Application secret entered and the Generate token button highlighted](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/Generate token (1)(1).png) - DocuWare checks the secret with the Identity Service. If the secret is rejected, a message tells you why. The dialog stays open, so you can correct the secret. 3. Copy the **Tenant URL** and the **Provisioning agent token**. You enter them in Microsoft Entra ID later. ![Tenant URL and Provisioning agent token with the copy icons highlighted and the expiration date below the token](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/image-1795518389340.png) The date below the token is the expiration date of its secret. After this date, the token no longer works. ### Install the provisioning agent Before you start, check the prerequisites in the Microsoft article [Microsoft Entra on-premises application provisioning to SCIM-enabled apps](https://learn.microsoft.com/en-us/entra/identity/app-provisioning/on-premises-scim-provisioning). 1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com), and go to **Entra ID > Enterprise apps**. 2. Search for the **On-premises SCIM app** application. Enter a name for it, and click **Create**. ![On-premises SCIM app selected when you create your own application in Microsoft Entra ID](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/api_upload_20261124_101517_438e0b9de27f4845b95e61a2f396fbda.png) 3. Open the **Provisioning** page of the new application. Set the provisioning mode to **Automatic**. 4. Under **On-premises Connectivity**, click **Download and install**. Then click **Accept terms & download**. ![Provisioning page with the Automatic mode and the On-Premises Connectivity section](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/api_upload_20261124_101517_386d338851da47c0a4ac51e468295735.png) 5. Run the installer on your Windows server, and click **Install**. 6. In the configuration wizard, click **Next**. 7. Sign in with a Hybrid Identity Administrator account. Click **Authenticate**, sign in, and click **Next**. 8. Enter the connection information for your Active Directory, and click **Next**. 9. Check the configuration of the Microsoft Entra provisioning agent, and click **Exit**. ![Summary page of the Microsoft Entra provisioning agent configuration wizard](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/api_upload_20261124_101517_cdef0cc887314892be63ef38304a48eb.png) ### Connect the agent to DocuWare 1. In the Microsoft Entra admin center, go back to the **Provisioning** page of your application. 2. Under **On-premises Connectivity**, select the agent you installed, and click **Assign Agent(s)**. 3. Restart the provisioning agent service on your Windows server. Alternatively, wait 10 minutes. 4. In **Tenant URL**, paste the Tenant URL you copied from DocuWare. 5. In **Secret Token**, paste the provisioning agent token exactly as DocuWare shows it. - Don't add "Bearer" in front of the token. Microsoft Entra ID adds it automatically. 6. Click **Test Connection**. When the test succeeds, click **Save**. ![Assigned agent, Tenant URL and Secret Token on the Provisioning page in Microsoft Entra ID](https://cdn.document360.io/0108e24e-b3e8-446c-b670-66b1d2a9e861/Images/Documentation/api_upload_20261124_101517_52f7c76b82cc4a38aef396b1cfdce338.png) ## Mapping attributes and provisioning users The attribute mapping, the group settings and the provisioning steps are the same for both connection methods. Follow these sections in the Microsoft Entra ID article: - [Mapping user and group attributes in DocuWare and Microsoft Entra ID](/help/docs/how-to-integrate-azure-entra-to-docuware-user-provisioning#mapping-user-and-group-attributes-in-docuware-and-microsoft-entra-id) - [Provisioning users and groups](/help/docs/how-to-integrate-azure-entra-to-docuware-user-provisioning#provisioning-users-and-groups) After the provisioning starts, check the provisioning logs in Microsoft Entra ID. Then make sure that the users and groups appear in DocuWare. #### Managing tokens and application registrations - DocuWare doesn't store the provisioning agent token. After you reload the page, the field is empty. If you need the token again, generate a new one. - When the token’s secret expires, the agent can no longer log in to DocuWare. Create a new secret and generate a new token. Then update the secret token in Microsoft Entra ID. - An application registration can have at most two secrets. If you need another secret, delete an unused one in the App Registrations plugin first. - After you change the application registration in DocuWare, wait about two minutes before testing the connection. Until then, requests can be rejected with the message "The application registration used to authenticate is not the one configured for this identity provider integration." - Disabling or deleting an application registration does not stop the agent immediately. The access token DocuWare has already issued remains valid until it expires, which can take up to one hour. You can switch a configuration between **Direct internet access** and **Microsoft Entra provisioning agent**. Users and group memberships that were already provisioned stay as they are. Supported versions: DocuWare on-premises 7.15