evolution-ews ignores proxy settings for OAuth2 authentication for MS365
We try to get evolution-ews working with MS365 exchange servers from within a corporate network using an outgoing http proxy without success yet.
We observed the behavior that no matter what proxy settings we define in Evolution, evolution-ews tries to contact login.microsoftonline.com directly.
We tried static proxy configuration in Evolution as well as proxy fallback to GNOME desktop settings with automatic configuration that uses a WPAD URL. The WPAD file contains no exemption for login.microsoftonline.com.
We analyzed the traffic using Wireshark and observed no attempts to contact the configured proxy.
We used the Evolution 3.40.4 and evolution-ews 3.40.4 versions from Ubuntu 21.10 packages. The packages from Ubuntu 20.04 LTS (Evolution 3.36.1) showed the same behavior.