Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Try logging into this link to register your product key on your Microsoft account.
If that is not successful, try entering your product key on this link.
https://account.microsoft.com/billing/redeem
If there is any other error indicated, what error is listed?