commands.sh

prowler m365

all

Assess Microsoft 365 (M365) security configurations and best practices. See also: `prowler`, `prowler-aws`, `prowler-azure`, `prowler-gcp`, `prowler-kubernetes`, `prowler-github`.

More info →

Options (2)

-c, --checksboolean

Run a specific Microsoft 365 check

Example: prowler m365 {{[-c|--checks]}} {{etcd_enm365_onedrive_sharing_enabledcryption}}
-e, --excluded-checksboolean

Exclude specific checks

Example: prowler m365 {{[-e|--excluded-checks]}} {{m365_onedrive_sharing_enabled}}

Examples (6)

Run Prowler with combined service principal and user credentials

prowler m365 --env-auth

Authenticate using a service principal

prowler m365 --sp-env-auth

Authenticate using the Azure CLI

prowler m365 --az-cli-auth

Authenticate using a browser and specify the tenant ID

prowler m365 --browser-auth --tenant-id "XXXXXXXX"

Run a specific Microsoft 365 check

prowler m365 [-c|--checks] etcd_enm365_onedrive_sharing_enabledcryption

Exclude specific checks

prowler m365 [-e|--excluded-checks] m365_onedrive_sharing_enabled
made by @shridhargupta | data from tldr-pages