Cannot deploy SCEP certificate to Android via Intune
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 Document Library
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.
- Add key-value pairs. The intune_device_id key is mandatory. All other keys are optional. Intune supports the following app configuration keys for FortiClient mobile. The table indicates which keys apply for Android and for iOS:
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