I have an internal Mailcow installation which works really well except for the setup in Outlook which asks for authentication twice. Once during the normal setup as expected, but when it starts testing the connectivity it will ask for the password in a Windows (Basic) Auth Popup as seen in the screenshot. Once i enter the password again Outlook will successfully autodiscover IMAP.
Thunderbird works without any issue, so I am guessing this is related to Outlook only.
Any ideas what could be causing this?