fix(docs): add mfa warning for users (#7924)

Co-authored-by: Pepe Fagoaga <pepe@prowler.com>
This commit is contained in:
Hugo Pereira Brito
2025-06-05 14:10:27 +02:00
committed by GitHub
parent 1281f4ec5e
commit a778d005b6
+3
View File
@@ -170,6 +170,9 @@ These two new environment variables are **required** to execute the PowerShell m
- `M365_USER` should be your Microsoft account email using the **assigned domain in the tenant**. This means it must look like `example@YourCompany.onmicrosoft.com` or `example@YourCompany.com`, but it must be the exact domain assigned to that user in the tenant.
???+ warning
The user must not be MFA capable. Microsoft does not allow MFA capable users to authenticate programmatically. See [Microsoft documentation](https://learn.microsoft.com/en-us/entra/identity-platform/scenario-desktop-acquire-token-username-password?tabs=dotnet) for more information.
???+ warning
Using a tenant domain other than the one assigned — even if it belongs to the same tenant — will cause Prowler to fail, as Microsoft authentication will not succeed.