Hello, for the last two weeks I have been trying to connect FCEMS (7.4.4) to Intune to deploy ztna certificate to Android devices (Samsung S25, Android 16, work profile). I have ran into a brick wall of device being stuck in „MDM Deployment Status Pending“ and the intune polocy to deploy SCEP certificate having error without any further details.
I have been following this guide Provisioning ZTNA certificates to FortiClient mobile using Intune | FortiClient 7.4.0 | Fortinet Doc...
I walked through it multiple times with the same result. Maybe I am missing something? Can someone please help, if you have such setup in working order? :)
I have configured the app with correct permisisons in intune and set up MDM integration in FCEMS.
Have user with correct licences.
In intune app configuration policies have set up:
Go to Apps > App configuration policies. Create a new policy.
So the only config i put in was device ID like this (I am using invitation codes so I am not filling ems server od ip)
The internal certificates were uploaded to the Android Forticlient, I had no way of importing them manually, so I created new policies in Intune to import those – this was successful.
After registering the Android Forticlient I see this in FCEMS
Here it is stuck forever, because in Intune, the EMS ROOT CA and SCEP CA are deployed correctly, but SCEP CERT is not.
Clicking on the policy displays no error.
I have looked what exactly is in the policy
There is link to SCEP server URLs. When I try to open the URL from the work profile of the Android device, it works – ie. It says „failed to decode scep request: missing operation“ which should be fine because I am just opening it in browser at this point and not supplying any real request.
Page display as signed, connection is secured, certificate trusted (SCEP CA)
So from what it looks, the Intune part is OK, the profile gets deployed, the phone can connect to SCEP server in there, but then something fails after connection to *FCEMS*:4001/Default/scep
FCEMS log displays nothing about this, only that MDM profile was provisioned two days ago. Althrough I have enabled debug logging just about hour back, so maybe later something will appear…
Communication from phone to fcems on port 4001 is working - this is whole log of all communication from phone to fcems, there is nothing else that is blocked.
Could someone please help with this issue?
Thank you
Regards
Martin
Hello,
Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.
Thanks,
Hello,
We are still looking for someone to help you.
We will come back to you ASAP.
Thanks,
Hello Wessnitzer,
I found this solution. Can you tell us if it helps, please?
To troubleshoot the issue of the device being stuck in "MDM Deployment Status Pending" and the SCEP certificate deployment error, follow these steps:
Verify Intune Configuration:
intune_device_id.Check EMS Configuration:
SCEP Configuration:
Logs and Debugging:
Certificate Deployment:
Network and Firewall: Check that there are no firewall rules or network configurations blocking communication between the Android device and the EMS server on port 4001.
Re-enrollment: As a last resort, try re-enrolling the Android device in Intune and EMS to see if the issue persists.
If the issue continues, consider reaching out to Fortinet support for further assistance, providing them with the detailed logs and configuration settings for a more in-depth analysis.
| User | Count |
|---|---|
| 2808 | |
| 1427 | |
| 812 | |
| 769 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.