We are integration our SCEP server CA with intune for that we have enrolled the windows device with intune and also configured the required SCEP CA and SCEP root trusted certificate profiles and SCEP certificate profile in intune admin portal.
When we are sending the certificate enrollment request to the intune device then we are getting below error from windows event logs
Logs from Microsoft > Windows > AAD
1. On-prem tgt error: On-prem configuration is missing
2. Http request status: 400. Method: GET Endpoint Uri: https://login.microsoftonline.com/2c8435c3-fda7-4565-83dc-b8b494c95da0/sidtoname Opens a new window Correlation ID: 50d654ef-5505-42f3-bc8d-94a67eb08d00
3. AAD Cloud AP plugin call Lookup name name from SID returned error: 0xC00485D3
Logs from Windows logs > application >
SCEP Certificate enrollment for Local system via ...