Before you begin
This integration uses ExFlow in Dynamics 365 Finance. Ask your administrator to confirm that ExFlow invoices and documents are available through the API. You will need four details:Connect in Watchdog
- Open Integrations → Microsoft Dynamics 365 Finance and add a connection.
- Enter the details from your administrator.
- Select Test Connection, then save the connection.
For the Finance administrator
Create the app registration
- Open the Azure portal and go to App registrations → New registration.
- Create an app for Watchdog and copy the Application (client) ID and Directory (tenant) ID.
- Create a client secret under Certificates & secrets.
- Copy the secret’s Value immediately. Watchdog needs the value, not the secret’s ID.
Grant access in Finance
- Create or select a dedicated service user for Watchdog.
- Grant the user Data Services read access to
ExFlow_InvoiceHeadersandBusinessDocumentDocuRefs. - Open System administration → Setup → Microsoft Entra applications.
- Register the client ID and link it to the service user.
client_credentials authentication. The service user does not need permission to change, approve, or delete invoices.
See Microsoft’s Finance service-access guide. ExFlow access must be confirmed for your installation.
Accounting data
With accounting data switched on, each of your companies gets its own accounts, financial dimensions, projects, project categories, item sales tax groups, and suppliers with their bank accounts from Finance. Watchdog reads the legal entity linked to each company on the connection’s Companies tab. A legal entity that is not linked is not imported. Link only one legal entity to each company. Grant the service user read access toLedgers, MainAccounts, DimensionAttributeCDREntities, FinancialDimensionValues, Projects, ProjectCategoryEntities, TaxItemGroupHeadings, VendorsV2 and VendorBankAccounts. The connection test reads one row of each, so a missing grant shows before the first import.