Skip to content
Help › Microsoft 365

Connect Microsoft 365

4 min read

What an administrator gives access to in Microsoft 365, and how you remove it again.

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 use each person's own email, calendar and files in OneDrive and SharePoint, just as the person would. With the "Medarbejder" (Employee) role it can send and reply to email, set up meetings and upload files. With the "IT-ansvarlig" (IT manager) role it can also create new colleagues, edit users, assign and remove licences and add people to groups.

Microsoft 365 in your AI: what you can ask

What you need

  • You are an administrator at Duks.
  • One person gives access once for the whole company.
  • Access must be given by a "Global Administrator" or a "Privileged Role Administrator" in your Microsoft 365.

Step by step

Someone with one of the roles Global Administrator or Privileged Role Administrator in your Microsoft 365 gives consent to Duks' two apps at Microsoft: log in and press "Accept" twice. We never see your password. Microsoft shows the apps as “Duks brugere og licenser” (Duks users and licences) and “Duks mail, kalender og filer” (Duks email, calendar and files).

  1. Choose Microsoft 365 at DuksUnder "Tilføj system" (Add system), choose Microsoft 365 and press "Fortsæt til Microsoft 365" (Continue to Microsoft 365). You must be an administrator at Duks.
  2. Log in at MicrosoftLog in with an account that has one of the roles Global Administrator or Privileged Role Administrator.
  3. Give consentMicrosoft shows what the app may do: read and edit users, assign licences, manage group memberships and read the company's details and administrator roles. Press "Accept".
  4. Give consent to the second appMicrosoft shows the app that uses each person's own email, calendar and files. Press "Accept". Choose your account if Microsoft asks you to. Microsoft then sends you back to Duks, where you choose roles. Your own Microsoft account is now connected.

Can't you give access yourself?

Access must be given by a "Global Administrator" or a "Privileged Role Administrator" in your Microsoft 365. Other roles are not enough at Duks, not even Cloud Application Administrator, Application Administrator, AI Administrator or 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.

  1. Press "Det er ikke mig" (It's not me)On the page where you connect Microsoft 365 at Duks, press "Det er ikke mig" (It's not me).
  2. "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 Microsoft 365, once, and for 7 days.
  3. 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.
  4. Choose rolesYour colleague opens the link and gives access. You get an email when Microsoft 365 is connected, and then choose which role each access group gets.

What each role may do in Microsoft 365

Each colleague gets a role in Microsoft 365. 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.

"Medarbejder" (Employee) is chosen in advance for everyone, and the person who connects Microsoft 365 gets "IT-ansvarlig" (IT manager). "Læser" (Reader) can read email and write drafts, but not send them. Only "IT-ansvarlig" sees the list of users.

The roles in Microsoft 365, as the account names them:

  • "Læser"
  • "Medarbejder"
  • "IT-ansvarlig"
  • "Indblik"

Each person connects their own Microsoft account

The AI only uses the email, calendar and files the person can see in Microsoft 365. Each person opens Microsoft 365 under "Systemer" (Systems) at Duks once, presses "Forbind din Microsoft-konto" (Connect your Microsoft account) and logs in as usual. An email the AI sends comes from the person.

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.

If it gets stuck

  • 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.
  • Microsoft has not switched on access yet: it can take a few minutes after consent. Press "Prøv igen" (Try again) at Duks. Consent does not need to be given again.
  • Microsoft does not give Duks access: consent has been withdrawn or was never switched on. Give consent again at Duks.

What Duks never does

  • Create inbox rules or forward email automatically
  • Change mailbox settings. An automatic out-of-office reply can be set
  • Permanently delete email or delete email you have sent. A draft can be deleted
  • Delete files or earlier versions of a file
  • Delete meetings with attendees. A meeting is cancelled instead, and an invitation is declined. An appointment without attendees that the person created can be deleted
  • Change who has access to sites, teams and groups
  • Give an account a new password or a temporary access pass
  • Activate administrator roles
  • Change accounts with administrator roles or groups that grant administrator roles. An administrator does that in Microsoft 365

What the log shows

Who, when, what the AI did and, for example, how many recipients an email had. Never the subject, text, email addresses or file names. Responses from Microsoft 365 are passed on to your AI app and are not stored at Duks.

Connected before 26 November 2026?

From 26 November 2026 the AI can also create and edit users, licences and groups. If you connected Microsoft 365 before then, your consent only covers lookups, and Microsoft 365 shows as "Ikke forbundet" (Not connected) under "Systemer" (Systems). An administrator presses "Giv adgang igen" (Give access again) and gives consent once more. The roles stay as they are.

When the AI creates a user, it gets a temporary password for the new colleague. It only appears in the response to the AI. Duks does not store it, and it is not in the log.

Remove access again

Log in to Microsoft Entra as an administrator, find “Duks brugere og licenser” and “Duks mail, kalender og filer” under "Enterprise applications", and delete them. If you also remove Microsoft 365 under "Systemer" (Systems) at Duks, access is closed in both places. See stop or remove access.