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,708 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,240 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. Simon Ren-MSFT 29,956 Reputation points Microsoft Vendor
    2021-11-11T08:25:11.833+00:00

    Hi,

    Thanks for your replies. We could try below steps to see if it works:

    1,Enable browser access
    Launch the Company Portal app.
    Go to the Settings page from the menu.
    In the Enable Browser Access section, tap the ENABLE button.

    2,Remove work profile from settings.

    3,Reboot and re-enroll the device.

    Thanks for your time.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Mathis, Blayne 1 Reputation point
    2021-11-11T15:23:57.527+00:00

    Tried your suggestion SimonRen; no luck. Browser access was already enabled. I removed the work profile, rebooted, and returned to the Company Portal app. I got signed in, through "Create Work Profile" step, but at the "Activate Work Profile" step, got the message "Couldn't add your device. Your company support has not authorized this device for management. Contact your company support for help."

    0 comments No comments

  3. Daniel Tataev 1 Reputation point
    2021-11-17T19:20:11.95+00:00

    Yes, I cannot use Intune with new Pixel 6. Fails on activation step, which is done with IMEI... Is there any solution?

    0 comments No comments

  4. MarkRo 1 Reputation point
    2021-11-23T03:26:15.94+00:00

    I am also experiencing this issue, but I cannot get past the initial setup of the phone. It is just stuck at "Registering Profile..." and "Can't set up work profile"

    0 comments No comments