2025-07-24 22:27:13 -06:00
|
|
|
# prowler m365
|
|
|
|
|
|
|
|
|
|
> Assess Microsoft 365 (M365) security configurations and best practices.
|
|
|
|
|
> See also: `prowler`, `prowler-aws`, `prowler-azure`, `prowler-gcp`, `prowler-kubernetes`, `prowler-github`.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.prowler.com/user-guide/cli/tutorials/misc>.
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|