Connect Business Central
Give Duks access to your accounts in Dynamics 365 Business Central. This page also explains what the AI can do.
The account at Duks is in Danish. Where this page names a button or a page in the account, the Danish name is in quotes, with what it means after it.
What you get
The AI can read the accounts in Dynamics 365 Business Central and do the daily work according to the person's role: customers, items, quotes, orders and invoices, posting sales and purchase invoices and general ledger entries, incoming payments and vouchers. Suppliers' bank details, employees and payroll are not read.
Dynamics 365 Business Central in your AI: what you can ask
What you need
- You are an administrator at Duks.
- Access is given for the whole company.
- It requires both an administrator in your Business Central and a user with one of the roles "Global Administrator", "Privileged Role Administrator", "Cloud Application Administrator", "Application Administrator" or "AI Administrator" in your Microsoft.
- In Business Central, a card for Duks must first be created on the page "Microsoft Entra applications".
- Duks reads the accounts under "Production" in Business Central. If it does not exist, or there are several, you choose from a list when you connect.
Step by step
It takes two steps: an administrator creates Duks' app in Business Central, and consent is given at Microsoft. These are often two different people, and the order does not matter. Microsoft shows the app as “Duks regnskab” (Duks accounts). We never see your password.
- Create the app in Business CentralSearch for the Microsoft Entra Applications page in Business Central, and create a new one with Duks' client ID, the description Duks and the state Enabled.
- Allow it to do the daily workAdd the permission set D365 BUS FULL ACCESS under the app's permission sets, without a company, so it can be used in all companies. This does not give access to users and permissions. Each person can only do what their role allows.
- Give consent at MicrosoftAt Duks, choose Dynamics 365 Business Central under "Tilføj system" (Add system) and press "Fortsæt" (Continue). Log in at Microsoft with an account that has one of the roles Global Administrator, Privileged Role Administrator, Cloud Application Administrator, Application Administrator or AI Administrator, and press "Accept". Microsoft then sends you back to Duks.
Duks' client ID appears below the steps when you connect Business Central at Duks. There you can also send the first step by email to the person who manages Business Central. Duks first looks for your books in Production, the name Business Central uses from the start. If your books are somewhere else, you choose the place from a list once consent is given, or you press "Vælg et andet sted" (Choose another place) below the first step and enter the name.
Can't you give access yourself?
Access must be given by a user with one of the roles "Global Administrator", "Privileged Role Administrator", "Cloud Application Administrator", "Application Administrator" or "AI Administrator" in your Microsoft. Other roles are not enough at Duks, not even a role you have created yourselves. If it is not you, hand the task over with a link. Your colleague does not need to be on Duks.
- Press "Det er ikke mig" (It's not me)On the page where you connect Business Central at Duks, press "Det er ikke mig" (It's not me).
- "Send linket" (Send the link)Write your colleague's email address and, if you like, their name, and press "Send linket" (Send the link). We send the link in one email, and if your colleague replies, the reply goes to you. The link only works for Business Central, once, and for 7 days.
- Or send it yourselfPress "Lav kun linket" (Only make the link) and then "Skriv en mail" (Write an email), and the text and the link are ready in your email program. You can also copy the link into a message.
- Choose rolesYour colleague opens the link and gives access. You get an email when Business Central is connected, and then choose which role each access group gets.
What each role may do in Dynamics 365 Business Central
Each colleague gets a role in Dynamics 365 Business Central. The AI only sees and changes what the role allows, and every change is in your log. What a role is, is explained under roles.
When you connect Business Central, you choose a role for each access group. "Ledelse" (Management) and "Økonomi" (Finance) get "Bogholder" (Bookkeeper), "Projekter" (Projects) gets "Sælger" (Sales), and "Alle" (Everyone) gets no role until you choose otherwise.
The roles in Dynamics 365 Business Central, as the account names them:
- "Indblik"
- "Sælger"
- "Bogholder"
- "Revisor"
Do you have an external IT provider?
The person giving consent must log in with an account in your own Microsoft 365. If the IT provider logs in with an account from their own company, the consent applies to the provider's Microsoft 365, not yours.
At your IT provider
If your Business Central or Navision runs at an IT provider and not at Microsoft, it depends on whether the system can be reached over the internet. If it can, Duks connects directly, and there is nothing to install. If it cannot, you use Duks Link. Neither way can be chosen yet. Write to us, and we will tell you when yours can be connected.
For the IT provider: Duks uses the system's web services (OData v4), that is, the address where NAV and Business Central share data with other programs. Duks needs three things:
- The address of the web services, e.g. https://nav.fjord-it.example:7048/NAV/ODataV4. It must be reachable over the internet with HTTPS.
- A user in NAV or Business Central for Duks, with the login NavUserPassword. Duks can do at most what the user's permissions allow.
- The user's key for web services, from the field "Web Service Access Key" on the user card. It is stored encrypted at Duks and never shown again.
If the company has its own web services, the AI can read them once that way is ready and the person's role may see everything in the accounts. The AI can only change something through them once we have reviewed each one.
If it gets stuck
- Business Central does not recognise Duks' app: the app is missing from the Microsoft Entra Applications page, or it is not set to Enabled. Create it, and press "Prøv igen" (Try again) at Duks. Consent does not need to be given again.
- The app is missing its permission set: add D365 BUS FULL ACCESS under the app's permission sets, and press "Prøv igen".
- Duks cannot find your books under that name: choose where they are from the list at Duks.
- The consent no longer applies: it is remembered for seven days, and it may have been withdrawn at Microsoft. Duks then asks for consent again. You can also press "Start forfra med nyt samtykke" (Start over with new consent) at Microsoft yourself.
- Microsoft says it requires an administrator: the account does not have one of the roles that can give consent. Hand the task over with "Det er ikke mig" (It's not me) at Duks.
What Duks never does
- Change bank details, the chart of accounts, users, permissions or settings in Business Central
- Delete anything that has been posted or sent
- Pay or move money
An incoming payment is prepared on the invoice and posted by a person in Business Central. In Business Central the changes are recorded under the app's own user and not under a person. Duks' log shows who asked for them.
Remove access again
Set Duks' app to Disabled on the Microsoft Entra Applications page in Business Central, and delete “Duks regnskab” under "Enterprise applications" in Microsoft Entra. If you also remove Business Central under "Systemer" (Systems) at Duks, access is closed everywhere. See stop or remove access.