iOS Wifi Profile not getting delivered

Copper Contributor

For the past few months we have had a profile set up that gets a restriction profile that locks the device into kiosk mode for an app and also has the setting "Join Wi-Fi networks only using configuration profiles" configured. We push out our Wi-Fi network to the devices along with root cert + SCEP profile for certificate based authentication. This has been working great for the past few months.
 
Starting last we were enrolling iPads as we have been doing, but when enrolling the device into Intune it gets the green check mark for 'Get your device managed' and goes to 'Update device settings' and can never confirm device settings. Looking at the device its been disconnected from the WiFi network. Going to Settings -> WiFi; theres no networks available (I have verified there are multiple networks available) and it says 'Your iPad can only join WiFi networks that are configured by your organization's admin'. Checking the management profile on the device I can see all the restrictions and both the SCEP certificate and root certificate, but the WiFi profile is not listed in there. Checking the device in Intune shows that the WiFi profile is still 'pending' for the device, along with the management profile, root cert and SCEP cert. If I enroll a regular user based device assigned the same WiFi profile (but not restrictions profile) it gets the profile and connects without issue. 

 

It seems like the device is getting the policy to only allow access to the network from the configuration profile and disabling WiFi on the device before it gets the WiFi profile. Has anyone run into this or have a solution? We can remove "Join Wi-Fi networks only using configuration profiles" but I'm not sure how that would impact the already enrolled ~80 devices.

2 Replies

If any one else runs into this issue or is looking for a solution this appears to be a known issue where it can't control what policies are being applied first. The solution seems to be enroll the devices and have only the wifi profile + certs applied. Once all devices are enrolled and have the wifi profile + certs installed then you can apply the restrictions profile.

The solution i found for shared ios devices was to make a device-based cert and wifi profile using the ndes cert already in use.

Scep cert uses:

Subject name : CN={{WiFiMacAddress}}

SAN :

URI | ID:Microsoft Endpoint Manager:GUID:{{DeviceID}}
URI | ID:Microsoft Endpoint Manager:{{SerialNumber}}


The wifi profile takes the above cert for auth as well as the ndes trusted cert and domain trusted cert.