Android 12 (Pixel 6 Pro) Enrolment failure with 'UserCanceledManagedProfile' returned

spols 101 Reputation points
2021-11-03T05:17:01.837+00:00

Attempting to enrol my new handset on InTune (Moving from Pixel 2 to Pixel 6), profile fails to be created with generic errors.
Can easily add or remove the same profile (same account) on my Pixel 2 (Android 11) - issue appears to be isolated to the new Pixel 6.

After the "1 Create work profile" step commences, I accept the "We care about your privacy" prompt, after which we get these 2 errors:

Can't add work profile
A work profile can't be added to this device.
If you have questions, contact your IT admin.

...followed by:

Unable to create work profile
We were unable to set up your work profile. If the problem persists, contact your support person because your device might not support work profile creation.

I took verbose logs and extracted the following interesting items:

INFO
com.microsoft.windowsintune.companyportal.omadm.OMADMUpdateReceiver
Enrollment error UserCanceledManagedProfile received. Current enrollment state: ManagedProfilePendingCreation

ERR_
com.microsoft.windowsintune.companyportal.viewmodels.EnrollmentViewModel
Company Portal sent a request to the device to create a managed profile with the Company Portal app as a Profile Owner. The request failed. This may be due to the user not accepting permission prompts, or because their device ran into another problem. Recommendation: uninstall the app, try again, and contact Microsoft support if needed.

INFO
com.microsoft.windowsintune.companyportal.viewmodels.EnrollmentViewModel
Un-registering for enrollment state changes.

ERR_
com.microsoft.windowsintune.companyportal.viewmodels.EnrollmentViewModel
The enrollment flow is exiting with a navigation result 0 (canceled). The enrollment state will revert to unenrolled, and the user will be signed out.

(Already done the obligatory uninstall/reinstall of InTune Company Portal app, as well as phone reboots)

Any ideas please?

Thanks in advance.

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,707 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,241 questions
{count} vote

Accepted answer
  1. spols 101 Reputation points
    2021-11-19T04:23:17.907+00:00

    Solved - glad to say I worked it out.
    Thanks all for your help.

    Specific steps that resolved it for me:

    1. Uninstall InTune Company Portal
    2. Settings->Passwords & Accounts-><scroll to bottom> Remove Work Profile (even though there wasn't a work profile installed)
    3. Reboot phone
    4. Install InTune Company Portal
    5. Sign In and enrol as usual - but this time it works!

    150901-image.png

    150873-image.png


12 additional answers

Sort by: Most helpful
  1. Antonios 1 Reputation point
    2021-11-24T20:47:21.043+00:00

    I had a similar issue but through the uninstall and reboot of the companion app I did manage to register the device. However when adding account through the outlook app, outlook does not recognise that my device (pixel 6 pro) is registered and set up...I get the following report:

    Request Id: 94a06dfb-7330-44a7-a669-db9b6d865b00
    Correlation Id: 5751ad5a-2844-45cc-b7b0-58ce186d8d5f
    Timestamp: 2021-11-24T20:30:15.077Z
    App name: Outlook Mobile
    App id: 27922004-5251-4030-b22d-91ecd9a37ea4
    IP address: 80.4.193.65
    Device identifier: Not available
    Device platform: Android
    Device state: Unregistered

    Any ideas?


  2. k palakondrayudu 21 Reputation points
    2021-11-25T14:00:02.443+00:00

    Hi All,

    My PIXEL 6 issue got resolved after allowing device as a personal work profile device .
    Thanks


  3. Hardeep Singh 1 Reputation point
    2022-04-14T11:51:05.667+00:00

    I am using google pixel 4a and able to solve the issues using the below steps:

    Specific steps that resolved it for me:

    1. Uninstall InTune Company Portal
    2. Settings->Passwords & Accounts-><scroll to bottom> Remove Work Profile (even though there wasn't a work profile installed)
    3. Reboot phone
    4. Install InTune Company Portal
    5. Sign In and enrol as usual - but this time it works!

    Thanks :)

    0 comments No comments

  4. alokdubey28 1 Reputation point
    2022-09-06T13:21:53.777+00:00

    My suggestion:

    1. Have a QR code ready, get it from your Intune administrator.
    2. Factory reset your device.
    3. When your device boot up after the factory reset, it will straightforward open the the QR Code scanner, don't bypass this.
    4. Use this QR Code scanner to scan the QR Code you have got from your Intune admins.
    5. Now follow the on-screen instructions and you should be able to configure Corporate-Owned Work Profile.

    My observations on my Samsung A52 (Android 12) device after the corporate owned work profile got created successfully.

    1. Intune Company Portal app in Play Store is no longer available to open.
    2. All your organization apps published through Intune will show up in Play Store, you can install it from there.
    3. Intune app will show you your device's sync status with your organization's Intune.
    0 comments No comments