Manually register the Azure app and configure the Mondoo Microsoft 365 integration.
Manually register an Azure app and configure the Mondoo Microsoft 365 integration. Most users should use the automated setup instead; choose the manual path when you need full control or your environment requires it.
Continuous M365 scanning requires a Microsoft Entra ID app registration. The registration creates a service principal that represents Mondoo in your tenant.
The setup is four steps: register the app, grant Microsoft Graph permissions, assign the Global Reader role, and upload an authentication certificate.
Mondoo authenticates with a PEM certificate. You upload the certificate only to Azure, and the certificate plus private key to Mondoo. The PEM file you upload to Mondoo must use this format and order, with no password protection:
You need these values from the Azure app registration you created:
Application (client) ID
Directory (tenant) ID
The combined PEM file (private key + certificate)
In the Mondoo App, navigate to the space where you want to add the integration. In the side navigation bar, select Integrations. In the top right, select + INSTALL. On the integrations page, find the integration you want by browsing or searching by name:
Under SaaS, select Microsoft 365.
In Choose an integration name, enter a name that identifies the tenant.
Paste the Application (client) ID and Directory (tenant) ID in their respective boxes.
Choose which subscriptions to scan:
All in the tenant. Leave Scan all subscriptions connected to the directory (tenant) ID enabled.
Allow list. Disable the toggle, select Allow list, and enter subscription IDs (one per line).
Deny list. Disable the toggle, select Deny list, and enter the subscriptions to skip.
Upload the combined PEM file (private key plus certificate) in the Drag and drop your .pem file here box.
Select START SCANNING.
On the Recommended Policies page, enable the policies you want Mondoo to score this integration against. To learn how policies work, read Manage Policies.