My work email account moved from one domain to another but the cut-over happened without my knowledge, so I was not able to remove the old instance of the account from Outlook before the email address was already moved to the new domain. The email address has not changed. I did remove the email account from my Outlook desktop app, but now when I try to add it back in as an account to the Outlook desktop app for Mac (via Office 365 login) there is a cache problem that is using the wrong/outdated identity provider and therefore will not authenticate the account properly (error AADSTS50020).
This appears to be something specific to my computer because the account was able to be properly added to another user's Outlook app (who had never used the account before). I have worked through many possible solutions per my internet research including clearing multiple potentially relevant entries from the Keychain Access app and resetting some defaults using the terminal, but nothing is working. I am using legacy Outlook but even when I switch over to "new" Outlook for mac, it still wouldn't work. I am able to login to the webmail account using an incognito window and on my phone just fine. What other options are there for removing the cached identity provider / location so that I can re-add my account into Outlook? Would uninstalling/reinstalling Office potentially work? I have tried and tried so many potential solutions that the IT team member and my internet + ChatGPT searching have suggested. I would be eternally grateful for any additional possible solutions that could solve this issue!
EDIT: Additional error message text includes "User account 'xxxx [my email address - has not changed, just the company that owns it]' from identity provider 'https://sts.windows.net/xxxx' tenant 'xxxx [old company name]' and cannot access the application 'xxxx' (Microsoft Office) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
EDIT 2: The email address has not changed, just the company that owns it. It is hosted by a private company and the IT professional for that company has been trying to help me with no success. I may ask them to submit a ticket with Microsoft if possible, but was hoping to find a solution I could accomplish on my own and soon.