Task: Computer not syncing into Intune. When you go to sync it you'll get an error 0x80072f99 which means that the private key didn't get pulled to the machine.
1.) Open PowerShell as an Admin
2.) Run this command:
$certs = Get-ChildItem Cert:\LocalMachine\My | Where-Object { -not $_.HasPrivateKey } Write-Host "$certs"
This will give you the cert that doesn't have the private key.
3.) Copy the "Thumbprint" from the cert.
4.) Run this Command in the same PowerShell window:
certutil -repairstore my "(Replace this with the Thumbprint)"
5.) You should see some messages letting you know it was successful.
Results: After about an hour or so, the machine should now be in Intune and Complaint.