Enforce Entra ID Authenticator Geolocation Telemetry
Microsoft Graph SDKEnforces tenant-wide geographic location display and application naming inside Microsoft Authenticator to neutralize notification bombing and MFA fatigue attacks.
Set-EntraAuthenticatorLocationPolicy.ps1
Production Tested
Connect-MgGraph -Scopes "Policy.ReadWrite.AuthenticationMethod"
$params = @{
"@odata.type" = "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration"
featureSettings = @{
displayLocationInformationRequiredState = @{
state = "enabled"
includeTarget = @{ targetId = "all_users" }
}
displayAppInformationRequiredState = @{
state = "enabled"
includeTarget = @{ targetId = "all_users" }
}
}
}
Update-MgPolicyAuthenticationMethodPolicyAuthenticationMethodConfiguration `
-AuthenticationMethodConfigurationId "MicrosoftAuthenticator" `
-BodyParameter $params
Write-Host "[SUCCESS] Tenant baseline enforced: MFA Geographic Telemetry Active" -ForegroundColor Green