Hi GhostSage:
User chris__74 posted today (en français) in Pekaaa1's Autopilot.dll WIL Error that a reset of your TPM module should stop these ModernDeployment-Diagnostics-Provider / Autopilot.dll WIL errors, and a few users have confirmed this workaround was successful.
I haven't tried chris__74's suggestion yet, but if you want to see if this works then go to Windows Security | Device Security | Security Processor | Security Processor Details | Security Processor Troubleshooting and then click "Clear TPM". An alternate method is to enter tpm.msc in a Run dialog box (Windows key + R) to open the TPM Management Console shown below and click "Clear TPM ...".
WARNING: If you use Bitlocker Disk Encryption and want to reset your TPM module I would advise that you suspend or disable Bitlocker first (e.g., at Control Panel | Security | Bitlocker Drive Encryption for Professional editions of Windows) and ensure that you have your 48-digit Bitlocker recovery key on hand before starting. Bitlocker is currently turned off on my Win 10 Pro v22H2 laptop and I have no idea what unexpected problems might arise if you reset your TPM module while Bitlocker is enabled.
For more information (and warnings) about clearing the TPM see the Microsoft Learn article Troubleshoot the TPM.
Before proceeding you might also want to read some recent feedback on pages 5 an 6 of Pekaaa1's thread. For example, MisterFlamp reported <here> in Pekaaa1's thread that a TMP reset stopped their Autopilot.dll WIL errors but that they were required to enter their Microsoft password and login PIN after the reset. The Microsoft Learn article Troubleshoot the TPM notes that "Clearing the TPM resets it to an unowned state. After you clear the TPM, the Windows operating system will automatically re-initialize it and take ownership again."
Dell Inspiron 15 5584 * 64-bit Win 10 Pro v22H2 build 19045.2486 * Firefox v109.0.1 * Microsoft Defender v4.18.2211.5-1.1.19900.2 * Malwarebytes Premium v4.5.21.231-1.0.1890 * Dell Update for Windows Universal v4.7.1 * Macrium Reflect Free v8.0.7279 * Microsoft Office Home and Business 2019 (Version 2301 / Build 16026.20146) Click-to-Run