Clearing the TPM can cause data loss and may affect the device ID. If the device ID changes, it can cause issues with conditional access policies. To fix this issue, you can try re-enrolling the device in Intune, which should generate a new device ID. Alternatively, you can contact your IT administrator to check the conditional access policy and ensure that the device ID is correctly configured.
References: