How to troubleshoot EWS connections?
So I have a self hosted Exchange and I have no problems using it from apps like Google Mail, Outlook and such, plus I can login directly to its .../EWS/Exchange.asmx through a browser. However, when trying with Thunderbird 145/Linux, I always get that username or password are incorrect, but it doesn't tell me exactly what went wrong and how it tried, so I'm in the dark why it is happening. Note: exchange's url is on a different domain than my account.
Basically it's either this message: Authentication error.
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgAccountManager.createIncomingServer]
Or similar if I try to get message from inbox.
Also weird things happen during configuration, like attached image (note that I've tried different URL permutations)
TLDR; how do I diagnose the issue, or ever better, how to connect? TIA