# Installation

# Licenses

### Microsoft

Information about the [Microsoft Business Central licenses](https://docs.squeeze.one/books/dexpro-business-central-apps/page/bc-lizenzen).

# Obtaining the DEXPRO module

Detailed Information are [here](https://docs.squeeze.one/books/dexpro-business-central-apps/page/bezug-der-dexpro-module).

### OnPrem

For OnPrem installations, an runtime package with the required apps is provided upon request of a registered reseller / partner. These modules are added to the customer license by the partner and then imported into Microsoft Dynamics Business Central. It should be noted that the DEXPRO Core module forms the basis for all DEXPRO modules and must therefore be imported first.

### Cloud

For cloud installations, you only need the Microsoft [AppSource](https://appsource.microsoft.com/de-de/product/dynamics-365-business-central/PUBID.dexprosolutionsgmbh%7CAID.69470%7CPAPPID.368db399-65f5-4250-9afd-b2a67a49e809?tab=Overview). This is where the required DEXPRO modules are downloaded.

[![image-1765449240264.png](https://docs.squeeze.one/uploads/images/gallery/2025-12/scaled-1680-/image-1765449240264.png)](https://appsource.microsoft.com/de-de/product/dynamics-365-business-central/PUBID.dexprosolutionsgmbh%7CAID.69470%7CPAPPID.368db399-65f5-4250-9afd-b2a67a49e809?tab=Overview)

# AWF Setup

### General

- **Activated**: Turns the DEXPRO Advanced Workflow app on or off. When disabled, no new workflow instances are started.
- **Default Assignee Type**: The assignee type that the dialogs **Reassign Approval**, **Reject Related Approval** and **Send Back Line** propose when they open – for example **Workflow User Group**. Blank: the type the approval is currently assigned to – **Workflow User Group** at a stage assigned to a group – otherwise **Approver**. When a line is rejected, the stage's rejection group comes first; the two line dialogs offer no external types and then propose **Approver**. See **Module: Approval Reassignment**.

### Trial Status

When the app runs in trial mode (no license activated), this section shows:

- **Status**: Current trial status (active / limit reached).
- **Workflow Runs Used**: Shows how many of the allowed trial workflow runs have already been used.

### Activation

- **Activation Endpoint URL**: URL for the license check. Provided by DEXPRO Solutions GmbH.

### Job Scheduling

- **Escalation Job Status**: Shows the current status of the escalation job queue entry (for example "Ready", "In Process", "Not Configured"). Click the status to open the related job queue entry.

### External Approvals

Settings for approvals outside Business Central (Microsoft Teams, Power Automate, SharePoint). The setup is described step by step in **DEXPRO AWF External Approvals — Setup Guide**.

- **SharePoint Approvals Enabled**: Writes external approval entries to the configured SharePoint list, from which Power Automate creates the Teams notifications. Can only be enabled once the setup is complete. The External Approvals API page is available regardless of this setting.
- **Entra Group Sync Enabled**: Resolves Microsoft Entra ID groups to their members for group approvals. Shown only once an **OAuth2 Setup Code** is entered.
- **OAuth2 Setup Code**: The OAuth2 setup used for Microsoft Graph access. The wizard creates it; it can be changed to use a different app registration.
- **Upload Attachments** (only with SharePoint approvals enabled): Uploads the document's attachments to SharePoint and shares them with external approvers via a link in the Teams card.
- **Polling Job Status** (only with SharePoint approvals enabled): Status of the job queue entry that picks up the responses from SharePoint. Click the status to open the entry.
- **Entra Group Sync Job Status** (only with Entra group sync enabled): Status of the sync job. Click the status to open the entry.

### Actions

- **Create Escalation Job**: Creates the recurring escalation job queue entry. Use this action if the entry was deleted or could not be created during installation.
- **Out of Office**: Opens the out-of-office entries where users can configure absence periods and substitute settings.
- **Check License**: Performs a manual license check against the activation endpoint.
- **Show Installation ID**: Shows the installation ID for this environment – required for license activation.
- **Setup External Approvals**: Opens the wizard that configures Microsoft Graph access and, depending on your selection, Entra group sync, SharePoint approvals, or both.
- **Test Connection**: Acquires an access token from Microsoft Graph with the configured credentials – for example after a secret renewal, without re-running the wizard. Available only once an **OAuth2 Setup Code** is entered.
- **Diagnose SharePoint Approvals** (only with SharePoint approvals enabled): Runs an end-to-end check of the SharePoint configuration – OAuth2 token, SharePoint site, list schema, job queues and open entries – and adds any missing columns to the SharePoint list. Safe to re-run.
- **Approvers** → **External Approvers** / **External Approver Groups**: Opens the list of external approvers or of external approver groups.
- **External Approval Entries**: Opens the list of external approval entries for monitoring and troubleshooting.