Secure Microsoft 365 with Mondoo
Continuously scan Microsoft 365 for security misconfigurations across Exchange Online, SharePoint, Teams, OneDrive, and more.
Mondoo checks your Microsoft 365 tenant for misconfigurations and compliance violations. You can connect the tenant to a Mondoo space so it's assessed on an ongoing basis, or scan it once from your workstation with cnspec.
Choose a setup path
Both paths create a Microsoft Entra app registration that Mondoo signs in as, and both need the Editor or Owner role in the Mondoo space, or another role with permission to add integrations. To see every role, read Roles and permissions.
| Path | Who runs it | Entra role needed | Credential Mondoo uses | Rotation |
|---|---|---|---|---|
| Automated setup | You run a Bash, PowerShell, or Bicep script from the Mondoo App, for example in Azure Cloud Shell, then enter the values it prints. | Global Administrator or Privileged Role Administrator, to grant admin consent and assign Global Reader. Without one, the script lists the steps an administrator must finish. | Certificate (recommended) or client secret, created by the script | Valid for one year. Create a new one and rotate it in Mondoo before it expires. |
| Manual setup | You register the app in the Azure portal and assign its permissions and role by hand, when you need full control or your environment requires it. | Global Administrator or Privileged Role Administrator, to grant admin consent and assign Global Reader. An Application Administrator or Cloud Application Administrator can register the app but can't finish those steps. | Certificate (recommended) or client secret you create | Expires on the date you choose (one year by default with the Azure CLI). Rotate it in Mondoo before then. |
With a client secret, the SharePoint Online check reports an error, because SharePoint Online refuses a token issued from a client secret. Use a certificate if SharePoint coverage matters.
To renew a certificate or client secret, read Renew the certificate or client secret. If setup or scanning fails, read Test and Troubleshoot a Microsoft 365 Integration. For what each integration status means, read Integration status and troubleshooting.
Scan from your workstation
Automate cnspec deployment
- Install cnspec via cloud-init
- Verify instances managed by Ansible
- Verify instances managed by Chef Infra
- Terraform deployment
Last updated on
Google Workspace
Continuously scan Google Workspace for security misconfigurations using a GCP service account with domain-wide delegation.
Automatically Set Up Continuous Scanning
Use the automated setup to create the Microsoft Entra app registration with a generated script and connect it to the Mondoo Microsoft 365 integration.