Why is the enrolment through Company Portal unavailable? Don't go down the rabbit hole..


Credits: Adobe Stock

While working on a MDM migration project, I came across an interesting issue in Intune that almost had me heading down a rabbit hole. As part of the migration, the existing mobile devices were to be un-enrolled from a non Microsoft MDM solution and then enrolled into Intune using the Company Portal method. Nothing fancy, but when this process didn't work, I obviously got into an investigation mode and started looking at some of the obvious things.

The obvious items that I looked at -

1. Network requirements for Intune, Android and Apple services. I must state that in this customer's tenant they had ADFS setup, so that added to the complexity. However, since the enrolment was taking place outside the customer's network, none of the network requirements really played a factor.
2. Intune device platform restrictions. Normally when a device is not allowed to enrol in Intune, more often than not it is due to device platform restriction policies. Especially when it comes to enrolling personal, work profile devices. However, this was not an issue when I checked. Also, this was a new tenant so didn't expect much of a configuration. Or so I thought..

So what was the issue? Drum roll please.. It was none other than the Intune customization policy. Not expecting for this to be configured for a new tenant, to my surprise, the default customization policy was configured to block company portal enrolment. Rather than getting into the why this was done, I will focus on the setting in question.

Under Tenant Administration > Customization, you will come across the Configuration section of the default policy. Under this section, there is a setting for Device enrolment. As of writing this blog post, the following values are available -

Available, with prompts (Default) - The default experience with prompts to enroll in all possible locations.
Available, no prompts - User can enroll via the status in device details for their current device or from apps that require enrollment.
Unavailable - There is no way for users to enroll. Apps requiring enrollment will be hidden.

You can probably see where I am going with this. The device enrolment was set to 'Unavailable'. Once I changed it to the default value of 'Available, with prompts', the Company Portal enrolment was working again. That simple and definitely not so obvious in my honest opinion. Especially when there are no specific errors or Entra events that one can work with. If the device enrolment is 'Unavailable', then at best the user will only see the following in the Company Portal application where it says that the device settings status is 'Unknown'.

A couple of things -

1. The device enrolment setting does not apply to iOS/iPadOS devices configured to enrol with Automated Device Enrollment.

2. If a device has been configured for KME and device enrollment is set to Unavailable, the device will not be able to enroll during the out of box flow.

3. For the Android Company Portal app, if Intune detects that the user's device is set up for app protection policies without enrollment, the user will not get prompted to enroll in the Company Portal, even if the device enrollment setting is configured to prompt enrollment. This applies to all Android device types except Surface Duo devices.

Until next time..

Comments

Popular posts from this blog

How to force escrowing of BitLocker recovery keys using Intune

Prevent users from running certain programs or applications on Windows endpoints using Intune

Intune: Configure Printers for Non-Administrative Users