Hello Sammi22,
I am glad you solved this.
Due to community rules of not being able to post your answer I will be reposting it for you, so other community users can get aid from your solution.
You mark and accept answer, for more visibility.
Sammi22, fixed this thus:
""I fixed this issue by performing a "licence removal" by following the instructions here: https://support.microsoft.com/en-us/office/how-to-remove-office-license-files-on-a-mac-b032c0f6-a431-4dad-83a9-6b727c03b193
I then uninstalled Office, reinstalled it, and was able to sign in. Phew.""