Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
We solve a lot of this issue in our company.
You can delete the Microsoft.AAD.BrokerPlugin_***** in the C:\Users\user\AppData\Local\Packages repository and then reboot. It does sometimes come back but otherwise it let's us work normally.
From what I understand, it's an issue with the licensing from the session user in that specific computer which Microsoft server tell that you don't have a valid liscence. Removing the said file force your computer to redo the whole procedure if getting the liscence anew.