Hi,
In regards to your issue, here're my suggestions:
A shared computer licensing is needed when sharing computer activation for Office 365.
The licensing token that is stored on the shared computer is valid only for 30 days. As the expiration date for the licensing token nears, Office 365 ProPlus automatically attempts to renew the licensing token when the user is logged on to the computer and using Office 365 ProPlus.
For more details, you can refer to the following link:
https://learn.microsoft.com/en-us/deployoffice/overview-shared-computer-activation
-------If my answer is helpful to you, please remember to mark them as answer. Thank you!------
Regards
Gloria