Skip to main content
Connect Microsoft 365 and the Dema Agent can work with your Teams chats, Outlook email and calendar, and SharePoint and OneDrive files. It sees only what you can see in Microsoft 365, and it asks you before it sends, saves or shares anything. Setting it up takes three steps. Steps 1 and 2 happen once for your whole company.

1. Allow it in Dema

A Dema admin turns it on for your organisation

2. Approve it in Microsoft

A Microsoft admin approves Dema once

3. Connect

Everyone signs in with their work account

What you can ask for


1. Allow Microsoft 365 in Dema

An organisation admin in Dema goes to Settings → Organisation → Connector permissions and turns on Microsoft 365. Skip this step if Microsoft 365 already shows up when you click New connector under Agents → Settings → Connectors.

2. Approve Dema in Microsoft

Microsoft requires an admin to approve apps that read Teams channels or SharePoint files. A Microsoft admin approves Dema once, for everyone in your company. After that, nobody else sees an approval request. The admin needs one of these Microsoft Entra roles: Global Administrator, Privileged Role Administrator, Cloud Application Administrator or Application Administrator. Pick the way that suits them:

3. Connect Microsoft 365

Once a Microsoft admin has approved Dema, everyone connects their own account:
  1. In Dema, go to Agents → Settings → Connectors, click New connector, find Microsoft 365 and click Connect.
  2. Sign in with your Microsoft work account. Personal accounts, such as outlook.com or hotmail.com, can’t connect.
Microsoft 365 then shows as connected. To check it works, ask the agent something only Microsoft 365 knows, such as “What meetings do I have tomorrow?”

Good to know

The agent signs in as you. It sees only the chats, email, calendar and files that you can open in Microsoft 365. It acts only when you ask, and it asks you to confirm before it sends, saves or shares anything.It doesn’t read meeting transcripts, change Outlook folders, rules or automatic replies, or delete email, events or files.
Dema acts on behalf of the person who connected. It can never do more than that person can do in Microsoft 365.
A Microsoft admin can limit Dema to some people:
  1. In the Microsoft Entra admin center, open Enterprise applications and search for Dema’s app ID a268336e-61fb-483f-a9f9-df76dff26c93.
  2. Under Properties, set Assignment required? to Yes and save.
  3. Under Users and groups, add the people or groups who may connect.
To disconnect your own account, go to Agents → Settings → Connectors, open Microsoft 365 and click Disconnect.To remove Dema for the whole company, a Microsoft admin deletes it under Enterprise applications in Microsoft Entra.

Troubleshooting

No Microsoft admin has approved Dema for your company yet. Send your admin step 2, then connect again. If your company uses Microsoft’s admin consent workflow, you can also send a request from that screen.
The admin connected without ticking Consent on behalf of your organization, so Microsoft approved Dema for them alone. Ask the admin to use Approve with a link in step 2.
You signed in with a personal Microsoft account. Sign in with your work account.
Give the agent the site’s address, such as https://yourcompany.sharepoint.com/sites/Marketing, or a link to the file. The agent sees only the sites and files that you can open yourself.

Need help?

Contact support

Email us at info@dema.ai with the error message

Agent integrations

Everything else the Dema Agent can connect to