Review your MS Account, Subs and Billing
If it was working before and you have changed nothing, then the std repair
Restart the PC, once fully loaded, repair Office,> Apps & Features>Select Office your version>Modify /Repair, once the repair completes re-test (Quick repair)
O365 when installed under a Win user admin account, and run from that admin account, auto logs in when the PC is started. There is no separate login for any component.