Hello,
When you purchase a license from Microsoft, it is a digital license linked to your Microsoft account.
If you need to transfer this license to a new installation, even on the same hardware due to a reinstall, it is crucial that you do not remove the previous installation from your Microsoft account. The Activation Troubleshooter relies on the old installation to verify and transfer the license. If the previous installation has been removed from your Microsoft account, the tool will not be able to locate the old device, preventing the transfer.
In this case, you will need to either:
Enter the 25-digit product key that was provided when you purchased the license, or
Contact Microsoft Support for manual activation.
If you no longer have the product key, you can use the Get Help app to connect with Microsoft Support, who can assist you with activation.