> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrmex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Office 365

> Connect Microsoft Office 365 to Myrmex — audit collaboration and security settings on demand.

import { Note, Steps, Step, CardGroup, Card } from '@mintlify/components';

Connect **Microsoft Office 365** so Myrmex can review your collaboration and security configuration — Exchange, SharePoint, Teams, and tenant settings — and audit your posture. Myrmex connects from the cloud via **Microsoft Graph** once you grant admin consent — reading in real time, on demand, with **no Collector required** and nothing stored on the Myrmex side.

## What Myrmex Can Do

<CardGroup cols={2}>
  <Card title="Collaboration configuration" icon="envelope">
    Review Exchange, SharePoint, and Teams configuration across the tenant.
  </Card>

  <Card title="Security posture" icon="shield-halved">
    Audit sharing, mailbox, and tenant security settings.
  </Card>

  <Card title="Access review" icon="user-shield">
    Check administrator roles and surface risky settings.
  </Card>

  <Card title="Investigate" icon="magnifying-glass">
    Ask about your Microsoft 365 settings directly in the Workspace.
  </Card>
</CardGroup>

## Before You Start

Office 365 connects from the cloud — **no Collector is required**. You'll need:

* An **Office 365 / Microsoft 365** tenant and its **Tenant ID**.
* An account with the **Global Administrator** role, to grant tenant-wide admin consent.

## Step 1 — Create the Credential in Microsoft

<Steps>
  <Step title="Find your Tenant ID">
    In the **Microsoft Entra admin center**, open **Overview** and copy the **Tenant ID** (Directory ID).
  </Step>

  <Step title="Confirm your role">
    Make sure your account has the **Global Administrator** role so you can grant tenant-wide admin consent.
  </Step>

  <Step title="Grant consent during Connect">
    Myrmex uses a pre-registered application. When you add the integration, you'll be redirected to Microsoft to review and grant the requested read permissions.
  </Step>
</Steps>

## Step 2 — Add the Integration in Myrmex

In the **Directory**, choose **Add Integration → Microsoft Office 365** and fill in:

| Field         | Description                                                                 |
| ------------- | --------------------------------------------------------------------------- |
| **Tenant ID** | The directory (tenant) ID of the Microsoft 365 account you want to monitor. |

<Note>
  When you connect, you're redirected to Microsoft to sign in and grant admin consent. The authentication method and the set of permissions granted are captured automatically during consent — you don't enter them manually.
</Note>

## Connect

Click **Connect** and complete the Microsoft admin-consent prompt. Office 365 then appears under **Environment → Integrations**, and you can start asking the AI about it in the Workspace.

<Note>
  Myrmex requests read-only Microsoft Graph permissions for analysis. Consent can be revoked at any time from the Microsoft Entra admin center.
</Note>
