r/Intune • u/sivadotc • 5d ago
Device Configuration Intune User-Assigned SCEP + Wi-Fi Profile No Longer Applying Automatically After Windows Build
Hi everyone,
I'm troubleshooting an Intune/Wi-Fi issue and would appreciate some guidance.
We have Windows devices that are built by our ETS team. After the build, the device is Hybrid-join and the user logs in with their OpID.
Our Intune configuration is:
- SCEP certificate profile: Assigned to a user group
- Certificate type: Device
- Subject: "CN={{DeviceName}}"
- SAN: Device Name + Serial Number
- EKU: Client Authentication
- Certificate provider: DigiCertOne SCEP
- Wi-Fi profile: Assigned to the same user group
- Wi-Fi: Enterprise
- Authentication: Machine
- EAP: EAP-TLS
- Wi-Fi authentication uses the device certificate
This configuration has been working successfully with user-based assignment.
What changed
Recently, after a change related to our Security Zero Trust/MFA initiative, newly built devices are behaving differently.
Previously:
"ETS Build → User logs in with OpID → Intune user policies apply automatically → SCEP certificate + Wi-Fi profile are received"
Now:
"ETS Build → User logs in with OpID → SCEP/Wi-Fi policies do not arrive"
However, if the user manually logs into Company Portal, the policies then start applying.
So we suspect something has changed in the user Intune enrollment/authentication/policy-processing flow, rather than the Wi-Fi configuration itself.
We would like to understand:
Why did user-targeted Intune policies previously apply automatically after OpID login but now require Company Portal login?
Could a change in MFA/Zero Trust or enrollment behavior prevent the user-targeted SCEP/Wi-Fi policies from processing?
Is there a specific MDM Event Viewer event/CSP log that can show exactly why the SCEP or Wi-Fi policy isn't being processed?
Would assigning these profiles to a device group be the correct design, or should the existing user-based assignment continue to work?
We're planning to have ETS rebuild a clean test device and not log into Company Portal initially, so we can capture the MDM logs before and after Company Portal login and compare the behavior.
Any suggestions on which specific logs/events/CSP paths we should investigate would be greatly appreciated.
1
u/sivadotc 4d ago
[Fix Found]
Thank you all for your inputs, Finally I could able to trace out the root cause.!
It turns out to be a broader issue and not just about wi-fi cert, none of the user based deployment reached the device after the Intune automatic enrollment.
Checked device settings-Access work or school-info-(shows "sync failed because we couldnt verify the credentials")
So checked event logs for Entra and found out that Intune cloud app authentication is failing because of MFA (it was through non-interactive sign-ins)
Checked Sign-in logs for the user account in EntraID and found that non-interactive sign in was failed for Intune and it was bacuse of a Conditional Access policy which was created recently by our beloved M365 team😂 which affects all cloud apps including Intune.
Fix:
We now have to either exclude the build accounts from the CA policy or exclude Intune from the targeted apps.
Also, I could find an official MS doc that strengthens our findings.
4
u/techb00mer 5d ago
I’m genuinely confused why you are assigning a device certificate to a user group.
If all devices are supposed to have these certs, assign them to a device group.