Send feedback
Password policies quality
Stay organized with collections
Save and categorize content based on your preferences.
This page summarizes documentation provided for
PasswordRequirements.PasswordQuality
and represents how passwordRequirements
instances are chosen to be applied based on the device management mode.
Complexity-based requirements are COMPLEXITY_LOW
,
COMPLEXITY_MEDIUM
and COMPLEXITY_HIGH
.
Quality-based requirements are all other requirements except PASSWORD_QUALITY_UNSPECIFIED
.
Prior to Android 12
Quality-based settings are always selected for all scopes if present.
Android 12 and later
Behavior depends on the device management mode.
Fully managed devices
Device scoped quality-based setting is always applied if present.
Company-owned work profile devices
The first two columns represent which password settings are specified in the
policy. The last two columns represent which password settings are chosen to be
applied.
Device-scoped setting
Profile-scoped setting
Applied device-scoped setting
Applied profile-scoped setting
Complexity & Quality
Complexity & Quality
Complexity
Complexity
Complexity & Quality
Quality
Quality
Quality
Complexity & Quality
None
Quality
None
Quality
Complexity & Quality
Not allowed
Quality
Quality
Quality
Quality
Quality
None
Quality
None
None
Complexity & Quality
None
Complexity
None
Quality
None
Quality
None
None
None
None
Personally owned work profile devices
The first two columns represent which password settings are specified in the
policy. The last two columns represent which password settings are chosen to be
applied.
Device-scoped setting
Profile-scoped setting
Applied device-scoped setting
Applied profile-scoped setting
Complexity & Quality
Complexity & Quality
Complexity
Complexity
Complexity & Quality
Quality
Complexity
Quality
Complexity & Quality
None
Complexity
None
Quality
Complexity & Quality
Not allowed
Quality
Quality
Complexity (Translated from Quality)
Quality
Quality
None
Complexity (Translated from Quality)
None
None
Complexity & Quality
None
Complexity
None
Quality
None
Quality
None
None
None
None
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[],null,["This page summarizes documentation provided for\n[`PasswordRequirements.PasswordQuality`](/android/management/reference/rest/v1/PasswordRequirements#passwordquality)\nand represents how [`passwordRequirements`](/android/management/reference/rest/v1/PasswordRequirements)\ninstances are chosen to be applied based on the device management mode.\n\n1. Complexity-based requirements are [`COMPLEXITY_LOW`](/android/management/reference/rest/v1/PasswordRequirements#PasswordQuality.ENUM_VALUES.COMPLEXITY_LOW), [`COMPLEXITY_MEDIUM`](/android/management/reference/rest/v1/PasswordRequirements#PasswordQuality.ENUM_VALUES.COMPLEXITY_MEDIUM) and [`COMPLEXITY_HIGH`](/android/management/reference/rest/v1/PasswordRequirements#PasswordQuality.ENUM_VALUES.COMPLEXITY_HIGH).\n2. Quality-based requirements are all other requirements except [`PASSWORD_QUALITY_UNSPECIFIED`](/android/management/reference/rest/v1/PasswordRequirements#PasswordQuality.ENUM_VALUES.PASSWORD_QUALITY_UNSPECIFIED).\n\nPrior to Android 12\n\nQuality-based settings are always selected for all scopes if present.\n\nAndroid 12 and later\n\nBehavior depends on the device management mode.\n\nFully managed devices\n\nDevice scoped quality-based setting is always applied if present.\n\nCompany-owned work profile devices\n\nThe first two columns represent which password settings are specified in the\npolicy. The last two columns represent which password settings are chosen to be\napplied.\n\n| Device-scoped setting | Profile-scoped setting | Applied device-scoped setting | Applied profile-scoped setting |\n|-----------------------|------------------------|-------------------------------|--------------------------------|\n| Complexity \\& Quality | Complexity \\& Quality | Complexity | Complexity |\n| Complexity \\& Quality | Quality | Quality | Quality |\n| Complexity \\& Quality | *None* | Quality | *None* |\n| Quality | Complexity \\& Quality | *Not allowed* ||\n| Quality | Quality | Quality | Quality |\n| Quality | *None* | Quality | *None* |\n| *None* | Complexity \\& Quality | *None* | Complexity |\n| *None* | Quality | *None* | Quality |\n| *None* | *None* | *None* | *None* |\n\nPersonally owned work profile devices\n\nThe first two columns represent which password settings are specified in the\npolicy. The last two columns represent which password settings are chosen to be\napplied.\n\n| Device-scoped setting | Profile-scoped setting | Applied device-scoped setting | Applied profile-scoped setting |\n|-----------------------|------------------------|--------------------------------------|--------------------------------|\n| Complexity \\& Quality | Complexity \\& Quality | Complexity | Complexity |\n| Complexity \\& Quality | Quality | Complexity | Quality |\n| Complexity \\& Quality | *None* | Complexity | *None* |\n| Quality | Complexity \\& Quality | *Not allowed* ||\n| Quality | Quality | Complexity (Translated from Quality) | Quality |\n| Quality | *None* | Complexity (Translated from Quality) | *None* |\n| *None* | Complexity \\& Quality | *None* | Complexity |\n| *None* | Quality | *None* | Quality |\n| *None* | *None* | *None* | *None* |"]]