Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
When Office worked on the PC, which version was that? Is it possible that some installation of Office LTSC was the one you actually used, because it was preinstalled? It happens that these types of licenses work for a while, until they stop working, at the time when Microsoft detects an invalid license and revokes it.