Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Restart your PC and try an Online Repair. Before you begin, verify that you can access your Microsoft account at https://account.microsoft.com/services and that Office is associated with it; that way, you know that you can reinstall Office, which is usually the final, required step of an Online Repair. For instructions on repairing, read the support article at https://support.microsoft.com/en-us/office/lifecycle/repair-an-office-application.