> ## 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 Intune

> Connect Microsoft Intune to Myrmex — review device compliance and endpoint posture on demand.

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

Connect **Microsoft Intune** so Myrmex can review your managed devices, compliance policies, and configuration profiles, and audit your endpoint posture. Myrmex connects from the cloud over **Microsoft Graph** after 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="Device inventory" icon="laptop">
    Review enrolled and managed devices across your tenant.
  </Card>

  <Card title="Compliance posture" icon="shield-halved">
    Audit compliance policies and device configuration profiles.
  </Card>

  <Card title="Policy review" icon="list-check">
    Spot gaps in device configuration and app protection policies.
  </Card>

  <Card title="Investigate" icon="magnifying-glass">
    Ask about device compliance and endpoint settings directly in the Workspace.
  </Card>
</CardGroup>

## Before You Start

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

* A **Microsoft Intune** tenant and your **Tenant ID**.
* An account with the **Global Administrator** (or **Intune 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 can grant tenant-wide admin consent — **Global Administrator** or **Intune Administrator**.
  </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

From the **Directory**, choose **Add Integration → Microsoft Intune**, then fill in:

| Field         | Description                                 |
| ------------- | ------------------------------------------- |
| **Tenant ID** | Your Microsoft Entra directory (tenant) ID. |

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

## Connect

Click **Connect** and complete the Microsoft admin-consent prompt. Microsoft Intune then appears under **Environment → Integrations**, and you can start asking the AI about your device posture 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>
