If you cannot activate Microsoft 365 on a shared computer, you can use the Microsoft 365 Shared Computer Activation (SCA) Troubleshooter to fix the issue on a Windows 11/10 PC. It uses the Get Help ...
Microsoft wants you to use the cloud, but there are a lot of good options — including trusty old network file sharing and a little-known modern Windows feature. Remember the HomeGroup on Windows 7?