Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Please uninstall your Office apps. To uninstall, you move all Office apps, like Word, Excel, PowerPoint, Outlook, Teams to trash bin.
Please use the instruction here: https://support.microsoft.com/office/how-to-remove-office-license-files-on-a-mac-b032c0f6-a431-4dad-83a9-6b727c03b193 Download and run the license removal tool to clear any old cached license.
then install it this way. Please go to https://account.microsoft.com/services
Sign in to the Microsoft account you used for the subscription.
You should then see your subscription listed. Find the option called "Install desktop versions of Microsoft 365 apps like Word, Excel and Powerpoint to your devices". It has a down arrow icon next to it.
Click on that. It should start downloading the installer file. Then you just need to run that installer file to install the apps.