Work profile passcode

This configuration is used to define the password requirements for the work profile of Android Enterprise devices. Requirements for the device lock are defined via the Device password → configuration.


Supported Enrollment Types

The Work profile and Personal profile badges in the form indicate the enrollment types for which the configuration is supported:

There is no profile selection. In both cases, the password requirements apply to the work profile.

Fully managed devices → do not have a work profile. The configuration is not transferred to them.


Passcode Quality

Defines the required quality or type of screen lock or password. The selected level is a minimum requirement, passwords of a higher quality level are accepted as well. For a new configuration, Numeric is preselected. Like all fields of the configuration, it is located in the General section of the form; the selection determines which further fields are shown.

The following options are available:

  • Complex (strong)
    The password must contain at least one letter, one digit, and one special character. When this option is selected, the following additional mandatory fields are displayed (lowest permitted value in parentheses):

    • Minimum number of letters (1)
    • Minimum number of lower case letters (0)
    • Minimum number of upper case letters (0)
    • Minimum number of non letters (0)
    • Minimum number of numeric characters (1)
    • Minimum number of symbols (1)

    The fields are empty in a new configuration. The configuration can only be saved once all fields have been filled in. In the form, they appear between Minimum passcode length and Maximum passcode age (in days). Minimum number of non letters counts digits and symbols together.

  • Alphanumeric
    The password must consist of letters and numbers.

  • Alphabetic
    The password must contain at least letters (or symbols).

  • Numeric complex
    Requires a numeric password with increased requirements, for example without simple or easy-to-guess number sequences. The form shows the hint: “The user must have entered a password containing at least numeric characters with no repeating (4444) or ordered (1234, 4321, 2468) sequences.”

  • Numeric
    The password must contain at least digits (e.g. a PIN).

  • Pattern
    Despite its name, this option does not enforce an unlock pattern. Any lock is sufficient (e.g. pattern, PIN, or password), and there are no requirements regarding its content.

  • Biometric (weak)
    A weaker biometric unlock method can be used, if supported by the device. With this selection, the fields Minimum passcode length, Maximum passcode age (in days), Passcode history and Number of failed passcode attempts before all data is erased are hidden and cannot be configured.

Which options are actually available and enforceable depends on the device, Android version, and manufacturer customizations.

Minimum Passcode Length

Defines the minimum number of characters required for the password. The field is mandatory. The default value and the smallest permitted value is 4. According to Google, the minimum length is only enforced with the qualities Complex (strong), Alphanumeric, Alphabetic, Numeric complex and Numeric; with Pattern, it has no effect.

Example:

  • 4 → The password must be at least 4 characters long.

Maximum Passcode Age (in Days)

Determines after how many days the password must be changed.

Number of days until a new password must be set. If the value is set to 0, the password never expires. The field is mandatory. The default value and the smallest permitted value is 0.

Example:

  • 0 → No password expiration.

Passcode History

Defines how many previously used passwords may not be reused.

Number of stored and previously used passwords that may no longer be used again. The field is mandatory. The default value and the smallest permitted value is 0.

Example:

  • 0 → There is no restriction on password reuse.

Number of Failed Passcode Attempts Before All Data Is Erased

Defines after how many incorrect password attempts a reset or wipe is triggered.

If no value is set, no automatic wipe is usually performed. The field is optional and empty in a new configuration. The smallest permitted value is 1.


Disable Work Profile Apps Until User Complies with Password Requirements

If this option is enabled, apps in the work profile remain disabled until the configured password meets the defined requirements. The option is enabled by default.

The period after which blocking and wiping take place if the password requirements are not met is defined in the Compliance enforcement → configuration. On devices with a work profile, the Work profile passcode row applies there; on managed devices with a personal profile, the Device passcode row applies. By default, only the apps in the work profile are blocked. When wiping, only the work profile is removed on devices with a work profile (BYOD); devices with a personal profile (COPE) are reset to factory settings.


Require Separate Passcode for the Work Profile

If enabled, a separate passcode must be set for the work profile.

If this option is disabled, the same device screen lock may be used in some cases.

The option is disabled by default and takes effect on devices with a work profile running Android 9 or later. If it is enabled and no separate passcode has been set up yet, the device reports a compliance violation. If Disable work profile apps until user complies with password requirements is also enabled, the apps in the work profile remain disabled until then.

If this option is not enabled, a system-wide timeout of 60 seconds is automatically applied.

Example: Separate PIN for the Work Profile

On personally owned devices with a work profile (BYOD), the work apps are to be protected by a separate lock that is independent of the device lock: at least a six-digit PIN without repeating or ordered sequences that expires after 180 days. The last three PINs must not be reused.

FieldValue
Passcode QualityNumeric complex
Minimum passcode length6
Maximum passcode age (in days)180
Passcode history3
Disable work profile apps until user complies with password requirementsenabled
Require separate passcode for the work profileenabled

On the devices, a separate lock that meets these requirements is required for the work profile; PINs such as 123456 or 444444 are rejected. Until the lock has been set up, the apps in the work profile remain disabled.


Notes

  • These settings apply exclusively to the work profile, including on managed devices with a personal profile (COPE).
  • The Work profile passcode configuration can only be added once per policy. If several policies of a device contain the configuration, only the one from the policy with the highest priority → applies.
  • Not all options are available to the same extent on every device or Android version.
  • Actual enforcement depends on the manufacturer, Android version, and device mode.

How helpful was this article?