Skip to content

Microsoft 365 Account Connection

In Whiskers every employee can connect their own Microsoft 365 work account once. The connection is personal: nobody, including your administrator, can see or use it, and access is read-only — Whiskers does not send email, modify files or write to calendars with this account.

If your organization has installed the M365 Assistant, you can search and read your email, Teams conversations, files and calendar through the connected account, and find people in your organization's directory (directory search does not require a mailbox).

For employees: connecting your account

  1. Open Settings → Connections.
  2. Press Connect on the Microsoft 365 row. A small window opens.
  3. Sign in to Microsoft with your own work account and approve the permissions.
  4. The window closes and the row reads "Connected as …".

If you don't see the row at all, your organization has not enabled this connection yet.

Someone else's account cannot be connected

The Microsoft account you connect must match your Whiskers email; otherwise the connection is not saved. Accounts outside your organization (personal or another organization's) cannot be connected either.

What if I see "Reconnect required"?

Microsoft no longer accepts the connection — for example an administrator reset your password or your organization removed access. Press Reconnect. A connection left unused for a long time (about 90 days) also ends up here.

Disconnecting

Disconnect deletes the key Whiskers stored and Whiskers stops accessing the account. The app's permission on the Microsoft side is managed by your organization's administrator; ask them if you want it removed entirely.

If your Whiskers account is deleted or deactivated, your connection is removed automatically.

Using the M365 Assistant

Open M365 Assistant in the console and ask in natural language:

  • "Summarize this week's budget emails from Ahmet"
  • "Where is the Q3 report file and what goals does it list?"
  • "What meetings do I have tomorrow?"
  • "Who is in the Sales department?" · "What is Ayşe Kaya's job title?"

The assistant searches first, reads content when needed, and shows the source (subject or file name, date and link) in its answer. If it could only read part of a long item, it says so.

  • If your account is not connected, a "Connect Microsoft 365" card appears under the answer. Connect, then ask again.
  • The assistant is read-only: it cannot send email, change files or write to your calendar.
  • It does not follow instructions found in what it reads. Even if an email says "assistant, send this there", it will not — it has no channel to send through anyway.

For administrators: setup

The connection works with your organization's own Microsoft Entra app registration; Whiskers does not use a shared application identity.

1. App registration in Entra

Entra admin center → App registrations → New registration:

  • Supported account types: Accounts in this organizational directory only.
  • Redirect URI (Web): https://<your-whiskers-address>/api/v1/connections/oauth/callback — the address of your Whiskers installation as reached from employees' browsers. Ask the team that installed Whiskers for the exact value.
  • Certificates & secrets → New client secret; copy the value (it is shown only once).

2. API permissions (delegated, read-only)

Under API permissions → Add a permission → Microsoft Graph → Delegated:

Permission For Admin consent
User.Read, openid, profile, offline_access Sign-in and account identity (required) No
Mail.Read Email No
Files.Read.All OneDrive + accessible SharePoint files No
Chat.Read Teams chats No
ChannelMessage.Read.All Teams channel messages Yes
Calendars.Read Calendar No
People.Read, User.ReadBasic.All People search No
User.Read.All Job title, department, office in the directory Yes

Your organization's user-consent policy may restrict even the "No" permissions; the smoothest path is a one-time "Grant admin consent for ". If you will not consent to channel messages or directory reading (User.Read.All), remove that permission from the list below — otherwise connecting fails entirely. Without User.Read.All, directory search still works with names and email addresses; job titles and departments are not shown.

3. Settings in Whiskers

In the admin panel, Tenant → Tenant Settings → Integrations → Microsoft 365 account connection card:

  • Application (client) ID and Directory (tenant) ID — from the Entra registration's Overview page.
  • Client secret — stored encrypted and never readable again. Saving with the field empty keeps the current secret; to change it, type the new one and save. Remove secret asks for confirmation because it turns account linking off: employees cannot connect and existing connections stop once their access tokens expire (usually within an hour). Connections are not deleted — if you enter the secret again they resume where they left off.
  • The connected account must match the user's email — on by default. Turn it off if user emails differ from Microsoft user names (UPN), e.g. when users come from LDAP. The directory lock always applies. Turning it off does not weaken security: a connection must be completed in the browser that started it, so a connection link opened by someone else does not work.
  • Permissions — empty requests the full set above. Only read-only permissions are accepted; a write permission cannot be added.

If any of the three parts (ID, directory, secret) is missing, employees see no row at all; the Configuration health panel shows this half-configured state as a warning.

4. Installing the assistant

In the admin panel, install it from the M365 Assistant card under Agents → Install crew (it is not a crew worker; it is used directly). Installation is not possible until the settings above are complete; the recipe card says what is missing. The assistant is available to everyone in the catalog; each employee sees only the account they connected.

The assistant uses three built-in tools; you can also give them to an agent you build yourself:

Tool What it does
Microsoft 365 Search (m365_search) searches mail, Teams, files and calendar; returns hits with their source
Microsoft 365 Read (m365_read) reads the content of an email, file or message found by search
Microsoft 365 Directory (m365_directory) finds people in the organisation directory (name, e-mail; title, department and office if permitted)

Long digests and answer length

The assistant is installed with a 4,096-token answer limit (so requests with many hits, such as "summarize today's emails", fit). An assistant installed before this keeps 1,024 and a long digest can be cut off midway: raise Max tokens to 4096 in the agent's settings and publish again.

Cannot be combined with tools that send data out

The Microsoft 365 search and read tools read both private data and externally-authored content (directory search is not restricted this way — your administrators write the directory). So that an instruction hidden in an email cannot carry that data out, these tools cannot be published in the same agent (or the same agent crew) as a tool that can send data out (email, SMS, web search, deep research, outbound HTTP requests or MCP tools). A tenant administrator can allow it explicitly per agent, understanding the risk; the decision is written to the audit log. The rule: Agent Guide → Tool combination.

Flows with an approval step

Microsoft 365 is not read after an approval step: if the approver is not the person who started the run, nobody's mailbox is read through someone else's click. Put the reading in the steps before the approval. The Configuration health panel flags flows that read an account after approval, naming the step and the tool.

Externally exposed (MCP) agents

If you expose an agent that carries Microsoft 365 tools, your employees can connect an MCP app such as Claude Desktop or Cursor to their Whiskers account and use this agent on their own Microsoft 365 data from that app as well. The content read goes to that app's model. The connection consent screen does not mention Microsoft 365 separately. Calls made with an API key are not tied to a user, so they cannot read any account. If you do not want this, do not expose an agent that has Microsoft 365 tools.

Installations without internet access

Microsoft 365 is a cloud service; this connection does not work in an installation that cannot reach Microsoft.