Do not deploy passcode settings and a restriction that prevents passcode modification at the same time. If a configuration profile or blueprint with a Restrictions payload restricts the ability to modify the passcode while the declarative configuration applies a passcode requirement, the profile fails to install with an error stating that the profile may require a passcode change but the passcode cannot be modified. Separate these settings so users can set a compliant passcode before you restrict modification.
Passcode settings configured in a Jamf Pro PreStage enrollment apply during enrollment, and you cannot edit them afterward. Where a PreStage passcode payload and a declarative configuration both apply, the device enforces the most restrictive settings.
Consider moving the Passcode configuration profile payload to a Passcode policy declarative configuration in blueprints. It has the widest OS support of any declarative configuration, it applies to computers and mobile devices, and passcode compliance state is available as an activation condition (@status(passcode.is-compliant)) that other blueprints can depend on once the declarative configuration is in place. Scope the Passcode policy declarative configuration to a test group first and confirm enforcement matches the existing configuration profile before expanding your scope.
Automated Device Enrollment is an exception. A blueprint cannot deploy during Setup Assistant, so a configuration profile remains the only way to enforce passcode requirements before user creation, or before the initial passcode is set on iOS devices. Keep the profile in place for that first-passcode enforcement, and move to a blueprint for ongoing management.
- Passcode complexity
- Minimum passcode length
- Maximum failed login attempts
- Automatic device lock
- Maximum passcode age
- Passcode reuse limit
- Custom regex passcode requirementNote:
The configuration profile Passcode payload does not contain a custom regex field in the Jamf Pro interface. If your organization enforces a custom regex requirement through an uploaded or custom-built profile, ensure you record that regex value before moving since it will not appear in the standard Passcode payload settings you are comparing against.
The Passcode Policy declarative configuration now enforces passcode requirements on scoped devices, reporting compliance status continuously instead of relying on a one-time profile installation. Removing the legacy Passcode payload eliminates the conflict window where both configurations applied simultaneously.
Using the same workflow, you can now begin to move other legacy payloads to their declarative configuration equivalent in blueprints.