> For the complete documentation index, see [llms.txt](https://docs.intuneassistant.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intuneassistant.cloud/intune-assistant/security-insights.md).

# Security Insights

## What it does

Security Insights reads the security settings of your Microsoft 365 tenant, judges them against a fixed set of controls, and tells you which accounts and settings need attention. It only reads. Nothing in your tenant is changed.

Every check is stored, so you see how your posture moves over time, what changed since the previous check, and which findings were fixed.

## What you need

| Requirement                                                         | Detail                                                                                                                                                                                                                                                                   |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Module                                                              | The **Security Insights** module must be active for the tenant. Without it the pages show "Security Insights is not active for this tenant"                                                                                                                              |
| Role to look                                                        | Any signed-in user of your customer can see the results                                                                                                                                                                                                                  |
| Role to change things                                               | The **customer admin** role is needed to accept a risk, sanction an account or change the sanctioned list. Without it you can look, but not change                                                                                                                       |
| Permissions to read your tenant                                     | The check you start yourself reads with your own rights. The signed-in account needs a directory role that may read this data: **Global Reader** covers every dataset, and **Security Reader** is needed as well in some tenants for Secure Score and Conditional Access |
| Worker (for the scheduled check, the Exchange controls and Devices) | A Worker (no setting to change: it installs the Security Insights code itself once the service is active) and the permissions that [Setup](https://docs.intuneassistant.cloud/intune-assistant/security-insights/worker-setup.md) walks you through                      |

## Two ways a check runs

|              | Run check (you)                                                                         | Scheduled check (Worker)                                                    |
| ------------ | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| Started by   | The **Run check** button                                                                | A job named **Security Insights** on your Worker, every 24 hours by default |
| Reads with   | Your own signed-in rights                                                               | The Worker's own permissions                                                |
| Reads        | Entra ID, Conditional Access, tenant settings, Secure Score, email domains (public DNS) | The same, plus Exchange Online and Defender for Endpoint                    |
| Devices page | Not filled by it                                                                        | Filled by it                                                                |

The scheduled job is created for you when the module is active and removed when it ends. See [Jobs that come with a service](https://docs.intuneassistant.cloud/extensions/worker/manage-jobs.md#jobs-that-come-with-a-service).

## What is stored

* Account ids are stored **encrypted** with a key that belongs to your tenant only.
* Names and sign-in names are **never stored**. They are looked up with your own permissions when you open a page.
* Results are kept 13 months and closed findings 90 days.
* If the tenant key is not available, the counts still work and the account lists answer that they cannot be read.

## The pages

| Page                                                                                                      | What it answers                                                                |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [Overview](https://docs.intuneassistant.cloud/intune-assistant/security-insights/overview.md)             | Where do I stand, what changed, what needs attention first                     |
| [Controls](https://docs.intuneassistant.cloud/intune-assistant/security-insights/controls.md)             | Every control with its result, and what to do about a failing one              |
| [Identity](https://docs.intuneassistant.cloud/intune-assistant/security-insights/identity.md)             | Who is protected by MFA, who holds privileged roles, which accounts to look at |
| [Email](https://docs.intuneassistant.cloud/intune-assistant/security-insights/email.md)                   | SPF, DKIM, DMARC and more for each of your domains                             |
| [Devices](https://docs.intuneassistant.cloud/intune-assistant/security-insights/devices.md)               | The device estate from Defender for Endpoint                                   |
| [Accepted risks](https://docs.intuneassistant.cloud/intune-assistant/security-insights/accepted-risks.md) | Deviations you accepted on purpose, with a reason and an end date              |
| [History](https://docs.intuneassistant.cloud/intune-assistant/security-insights/history.md)               | Every stored check and how the numbers moved                                   |
| [Report](https://docs.intuneassistant.cloud/intune-assistant/security-insights/report.md)                 | A printable report of one check                                                |
| [Settings](https://docs.intuneassistant.cloud/intune-assistant/security-insights/settings.md)             | The list of sanctioned accounts                                                |
| [All customers](https://docs.intuneassistant.cloud/intune-assistant/security-insights/all-customers.md)   | The same posture for every customer you manage (MSP only)                      |

## Reading a result

| Result          | Meaning                                                                                               |
| --------------- | ----------------------------------------------------------------------------------------------------- |
| Pass            | The control is in order                                                                               |
| Fail            | The control is not in order. It counts against you                                                    |
| Accepted        | It fails, and you accepted it on purpose with a reason and an end date. It is never counted as passed |
| Not applicable  | The control does not apply to this tenant                                                             |
| Could not check | The data could not be read (a permission or licence is missing). It is never shown as passed          |

Severity is High, Medium or Low.
