Intune Android - Devices using BYOD are required to have an 8-Digit Passcode even though the policy requires only 4 digits

Denis Zivcic 40 Reputation points
2023-01-11T13:37:19.0433333+00:00

Hello!

I am using Intune for our MDM. Some users reported that their Android Device (which is configured using BYOD) requires an 8-Digit Passcode. Our configuration policy only requires 4-Digits though. Can somebody help me point into the right direction?

It only affects BYOD Users (for now)

Thanks!

Microsoft Security | Intune | Security
Microsoft Security | Intune | Microsoft Intune Android
Microsoft Security | Intune | Other
{count} votes

5 answers

Sort by: Most helpful
  1. Denis Zivcic 40 Reputation points
    2023-10-17T12:53:43.0133333+00:00

    For everyone wondering how I fixed this issue:

    You have to explicity set the password complexity to "medium".

    grafik

    grafik

    2 people found this answer helpful.

  2. gofletchgo 15 Reputation points
    2025-10-01T14:41:28.2166667+00:00

    Hello, I have Samsung S25 running Android 16 and have this issue. However, when I have the Work Profile set up, changing the complexity is no longer an option from what I can see in my phone. When I go into my settings and click Screen Lock, PIN, all that I am allowed to do is change the PIN itself as long as it is 8 digits. I am not allowed to change the complexity level, which is set to Medium-High once the Work Profile is set up. My work does NOT require a PIN longer than 4 digits. If I uninstall the Work Profile then it will allow a 4 digit PIN. Has anyone with A16 found a solution to this or is Samsung Knox working to change this for work profiles?

    2 people found this answer helpful.

  3. Jordan Millama 1,391 Reputation points
    2023-01-11T14:36:28.79+00:00

    The configuration profile only states the minimum required length of 4, but a length of 4-16 can be used. I am not very familiar with newer Android devices, but this could be a restriction of newer versions of Android not allowing passcodes shorter than 6 or 8 digits.

    User's image


    Please accept as an answer if this was helpful.


  4. Rahul Jindal 11,416 Reputation points
    2023-01-17T18:21:58.53+00:00

    Do you have a MAM policy applied by any chance?


  5. Justin G 0 Reputation points
    2023-10-17T14:01:17.0966667+00:00

    Context:

    The key to this is the Android versions. I encountered this issue after getting a new Android phone, (last phone was a Pixel 5, new one is a Pixel 8 Pro, the Pixel 5 was updated to Android 14 and still had no issues with Intune MDM compliance despite having a 6 character password).

    When I went to set up my new phone, despite me still having a 6 character password to unlock my phone, the Company Portal app was forcing me to set up an 8 character password.

    Solution (for our environment):

    I'm not sure why we all weren't retroactively forced to set up 8 character passwords for our Android devices in my company, but I was able to resolve this issue by doing what Matthias Mader suggested (setting the Android 12 and newer password complexity to Low). My suspicion is that because we had it originally set to "None", Microsoft/Intune was defaulting to High instead for the sake of security, but only applying this to new MDM enrollments. This makes the most sense to me since in November of last year, Google stopped supporting the more granular password complexity/length requirements for BYOD, instead they switched over to what we see for the Android 12 and newer password complexity settings. This timeline matches up pretty well since at my company, we've only run into this issue at the beginning of this year when some people got new Android phones.

    In short: If your Android 12 or newer Work Profile Password Complexity is set to None, change it to anything else (Low, Medium, High). After some digging, I found some better information on this available here: https://free.blessedness.top/en-us/mem/intune/protect/compliance-policy-create-android-for-work#android-12-and-later---for-personally-owned-work-profile

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.