Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
If your version of MacOS is Big Sur, then the error you are seeing is caused by an update on the 13th of July, many people are seeing the exact same error (0x0) if you are unable to upgrade your MacOS to a newer compatible version (12 or above), your Office apps will go into Read Only mode, on the link below the full details on that update are provided.
If you are unable to upgrade your version of MacOS, your only options are yo either use the free online version of the Office apps, or use a 3rd party Office suite like the free LibreOffice, that would be compatible with your existing Office documents and will work on MacOS Big Sur.