Government Cloud SupportGovernment cloud accounts or tenants (Microsoft 365 Government) are currently unsupported, but we expect to add support for them in the near future.
Prerequisites
Configure authentication for Microsoft 365 by following the Microsoft 365 Authentication guide. This includes:- Registering an application in Microsoft Entra ID
- Granting all required Microsoft Graph and external API permissions
- Generating the application certificate (recommended) or client secret
- Setting up PowerShell module permissions (for full security coverage)
Prowler App
Step 1: Obtain Domain ID
-
Go to the Entra ID portal, then search for “Domain” or go to Identity > Settings > Domain Names


- Select the domain to use as unique identifier for the Microsoft 365 account in Prowler App
Step 2: Access Prowler App
- Go to Prowler Cloud or launch Prowler App
-
Navigate to “Configuration” > “Cloud Providers”

-
Click on “Add Cloud Provider”

-
Select “Microsoft 365”

-
Add the Domain ID and an optional alias, then click “Next”

Step 3: Select Authentication Method and Provide Credentials
Prowler App now separates Microsoft 365 authentication into two app-only options. After adding the Domain ID (primary tenant domain), choose the method that matches your setup:
Application Certificate Authentication (Recommended)
- Enter your tenant ID: This is the unique identifier for your Microsoft Entra ID directory.
- Enter your application (client) ID: This is the unique identifier assigned to your app registration in Microsoft Entra ID.
- Upload your certificate file content: This is the Base64 encoded certificate content used to authenticate your application.

Application Client Secret Authentication
- Enter your tenant ID: This is the unique identifier for your Microsoft Entra ID directory.
- Enter your application (client) ID: This is the unique identifier assigned to your app registration in Microsoft Entra ID.
- Enter your client secret: This is the secret key used to authenticate your application.

Step 4: Launch the Scan
-
Review the summary, then click Next.

-
Click Launch Scan to start auditing Microsoft 365.

Prowler CLI
Use Prowler CLI to scan Microsoft 365 environments.PowerShell Requirements
PowerShell 7.4+ is required for comprehensive Microsoft 365 security coverage. Installation instructions are available in the Authentication guide.Authentication Options
Select an authentication method from the Microsoft 365 Authentication guide:- Application Certificate Authentication (recommended):
--certificate-auth - Application Client Secret Authentication:
--sp-env-auth - Azure CLI Authentication:
--az-cli-auth - Interactive Browser Authentication:
--browser-auth

