Hi @TG
Welcome to our forum!
It seems that you are using an Outlook.com account, right? Based on my research, i could sign in my outlook.com account normally by going to Tools > Accounts>select the plus (+) sign > New Account>type the account and password. More information: Add an email account to Outlook for Mac - Microsoft Support
According to the error code [9hehw], It seems to be related to the authentication problem, please ensure that the password and account you enter are correct (Please be patient as the first account usually takes some time).
If there is still a problem, considering data file corruption, it is proposed that you create a new profile, re-add your account to the new profile and check if the same issue still occurs.
If it still exists, the problem may be more related to your account, it is suggested that you could post your case in dedicated forum for Outlook.com for more professional advice.
Hope it helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our [documentation] to enable e-mail notifications if you want to receive the related email notification for this thread.