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.
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 |
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:
Go to DocuWare Configurations > General > User Provisioning.
Turn on Enable User Provisioning.
Under Provisioning Source, select Cloud identity provider.
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.
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.
In the Application Registration list, select an existing application registration. If you want to create a new one, click Create Application Registration (+):
Enter a name for the application and click Create.
Copy the Application (Client) ID and the Client secret. The secret is shown only once, so store it in a safe place.
Click Done.
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.
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
Under Provider Configuration, copy the values shown. The field names follow the terms of your identity provider:
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

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. As the authentication method, select OAuth2 Client Credentials Grant.
How to 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.
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:
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.

Click Generate token.
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.
(1).png)
Copy the Tenant URL and the Provisioning agent token. You enter them in Microsoft Entra ID later.

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.
Sign in to the Microsoft Entra admin center, and go to Entra ID > Enterprise apps.
Search for the On-premises SCIM app application. Enter a name for it, and click Create.

Open the Provisioning page of the new application. Set the provisioning mode to Automatic.
Under On-premises Connectivity, click Download and install. Then click Accept terms & download.

Run the installer on your Windows server, and click Install.
In the configuration wizard, click Next.
Sign in with a Hybrid Identity Administrator account. Click Authenticate, sign in, and click Next.
Enter the connection information for your Active Directory, and click Next.
Check the configuration of the Microsoft Entra provisioning agent, and click Exit.

Connect the agent to DocuWare
In the Microsoft Entra admin center, go back to the Provisioning page of your application.
Under On-premises Connectivity, select the agent you installed, and click Assign Agent(s).
Restart the provisioning agent service on your Windows server. Alternatively, wait 10 minutes.
In Tenant URL, paste the Tenant URL you copied from DocuWare.
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.
Click Test Connection. When the test succeeds, click Save.

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:
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