Hotmail email issue keeps happening
No matter what I do, I always end up having to restart my macbook pro to get into my Hotmail account through the Apple Mail app. It'll work properly for a few days, but then after that it keeps prompting me to enter my password, which I know is correct, I'm copying and pasting it directly into the password field and I can type it into the password field too, nothing works. So I end up having to restart my computer completely to be able to access my Hotmail account, which isn't too big of a deal, but it'd be nice if I didn't have to do that. Picture of issue provided. I searched for a way to post this in the Mac OSX Mail App area, but couldn't find it, if this is the wrong place for this post, please point me to the right one, thanks!
MacBook Pro 15", macOS 10.15