MT.1233 - Ensure Android compliance policy requires a strong device password.
Overviewβ
Ensure at least one assigned Android compliance policy requires a strong device password.
The device password is what stands between someone holding the phone and everything on it: corporate mail, Teams conversations, and the Microsoft Authenticator app, which is the second factor for the signed-in user. A phone with no password hands all of that to whoever picks it up, and a stolen phone is the most ordinary way a mobile device is lost to someone else.
Three settings make up the control, and this check requires all three on the same policy, because a device is evaluated against each policy as a whole:
- Require a password to unlock mobile devices - without it, nothing below applies.
- Minimum password length - six characters by default in this check.
- Maximum minutes of inactivity before password is required - fifteen minutes by default. A password on a screen that never locks protects nothing.
An inactivity timeout that is not configured does not count as a pass. Treating a missing value as "no limit, so under the limit" would report the weakest possible configuration as compliant.
The required password complexity is shown for every policy but does not decide the verdict, because the set of values that property accepts has not been verified against the live schema for this policy type. An unrecognised value is printed as Intune returned it rather than relabelled.
Both thresholds are parameters, so an organization that requires eight characters and a five minute lock can set MinimumPasswordLength and MaximumInactivityMinutes in its Maester configuration.
Policies that are not assigned to any group are reported by this test but do not count towards a pass, because an unassigned compliance policy is never evaluated against any device.
Scope limitationβ
This test evaluates the Android device administrator compliance policy type (androidCompliancePolicy). Android Enterprise policies, for work profile and device owner enrollments, are counted and reported but their settings are not read, because their property names are not verified here.
A tenant that has Android Enterprise policies and no device administrator policy is reported as not applicable rather than as a failure. A tenant with no Android compliance policy of any kind does fail, because then nothing evaluates Android devices at all.
Remediation actionβ
- Navigate to the Microsoft Intune admin center.
- Go to Devices > Manage devices > Compliance.
- Select an existing Android policy, or select + Create policy with Platform set to Android device administrator.
- Under Compliance settings > System Security > Password:
- Set Require a password to unlock mobile devices to Require.
- Set Minimum password length to 6 or more.
- Set Maximum minutes of inactivity before password is required to 15 or less.
- On the Assignments tab, assign the policy to your Android device or user groups.
- Select Next and then Create or Save.
Tell users before the policy applies: devices that do not meet the requirement prompt for a new password, and users with a short PIN have to choose a longer one.
Related linksβ
- Microsoft Intune admin center - Device compliance
- Microsoft Learn - Android device administrator compliance settings in Intune
- Microsoft Learn - Levels of protection and configuration in Intune
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | MT.1233 |
| Severity | Medium |
| Suite | Maester |
| Product | Intune |
| Feature | Device compliance |
| Area | Devices and endpoints |
| Resource type | Tenant |
| User impact | Medium |
| Implementation cost | Low |
| MITRE ATT&CK | T1110 Brute Force, T1111 Multi-Factor Authentication Interception |
| Supports controls | nist-800-53-r5:IA-5(1), nist-800-53-r5:AC-11 |
| PowerShell test | Test-MtAndroidPasswordPolicy |
| Services | Graph |
| Compatible licenses | INTUNE_A |
Sourceβ
- Test:
tests/maester/intune/Test.MT.1233.ps1 - Documentation:
tests/maester/intune/Test.MT.1233.md
