Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
The cause and fix can be complex. Are you the admin? If not, do contact your admin as you may not be the only person with the problem.
Some random searches show others face similar problems before.
Perhaps some of their solutions might help