I recently moved an SSD from a malfunctioning small form factor desktop to another identical model. After entering the Bitlocker recovery key, I was able to access my files, but I keep getting prompted to log in to Microsoft 365 and face constant failures with errors like 'Device TPM problem' and 'keyset not found'. I've deleted files from the appdata folder, disabled Bitlocker, reset TPM settings in the BIOS, reinstalled Microsoft 365, and even removed devices from Microsoft Entra and revoked user sessions, but nothing worked. Desperate for a solution, I eventually wiped the Windows user profile and started anew, which did resolve the issue. Is there a simpler method to reconnect Microsoft 365 with a new TPM?
3 Answers
Did you try reactivating Windows through the troubleshooter after the hardware change? It's crucial since the BIOS version on the new machine can affect secure boot keys, and any old TPM info would be gone. Reloading the default keys in BIOS should help re-establish secure boot, but you’ll also need to ensure that Windows is activated, or you could run into more blocks.
Not sure why you opted to swap the SSD rather than just transfer files over. Swapping doesn't always work smoothly due to potential software and BIOS conflicts. A fresh Windows install is often a more reliable fix, but if you really wanted to avoid that, just putting the original drive back in and setting up Microsoft 365 on it could save a lot of hassle.
It sounds like the issue comes from the TPM key not matching after the SSD swap, which causes Office 365 and Azure AD attestation to fail. To update the settings, you might try using the 'dsregcmd' command to leave the domain and then rejoin it after a reboot. That could help refresh the connection without needing to wipe everything.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures