Forum Discussion
Intune compliance issues Windows 11 22H2
I had the same issue and I stumbled upon this task somehow missing in action.. after manually restoring that service it worked
Currently reinstalling the device with English Windows, so i can post screenshots /error codes.
The strange thing was, i allready added English US language pack, deleted the other languages, setted everything to English US... Everything except the error message in task scheduler is Enlgish... That's why i'n reinstalling it with an English ISO.
- Jan 30, 2023Ahhhh thats somehow nice to hear...I am looking with the IDA tool right now what exactly happens when launching that task .. as mentioned here... that task is indeed responsible;e for sending out the dha data to the dha service (that is forwarded to intune later on.. )
https://call4cloud.nl/2021/10/device-health-attestation-age-of-compliance/#part5
Inside that dha data... your bitlocker /secure boot/codeintegrity status exists...- buckbaggenJan 30, 2023Brass Contributor
This error is what i get.
But how did you restore it, in your previous message you said: after manually restoring that service it worked Rudy_Ooms_MVP- Jan 30, 2023
I exported that task from another device with powershell and imported it back on that device... but getting that message.. that scheduled task should use the verifydevicehealth function wich is pulled from the tpmcoreprovisioning.dll that the tpmtasks.dll (which that task uses) imports.
Feel free to reach out to me on twitter.... as I am pretty curious about what a procmon trace should show you when you run that task... i guess it should show you something.. (would love to look at it)
You could also call upon that function yourself... this line below should trigger the same thing as that task should trigger...
rundll32 tpmcoreprovisioning.dll,TpmVerifyDeviceHealth