Re: [Evolution] Extreme difficulty getting Evolution-EWS to work with Office 365 by following Wiki



On Wed, 2020-04-22 at 01:28 +0800, Turritopsis Dohrnii Teo En Ming via
evolution-list wrote:
https://wiki.gnome.org/Apps/Evolution/EWS/OAuth2

I believe the above Wiki is very outdated and needs updating. 

        Hi,
that's true. It's several years and Microsoft changed their Web UI
meanwhile, thus it doesn't match the Wiki page content. The thing is
that the Azure web interface is not for free accounts, my developer
account trial already expired and I'm not going to pay them anything,
thus I cannot help much. Nonetheless, the above is a Wiki page, it can
be updated by anyone, thus if you can update it with relevant changes,
then I believe users will appreciate it. Note that the Office365.com
has planned some upcoming changes, which will change the game a bit:
https://developer.microsoft.com/en-us/microsoft-teams/blogs/upcoming-changes-to-exchange-web-services-ews-api-for-office-365/

Honestly, I do not know why Microsoft made EWS access with OAuth2 so
obscure, while the REST access with OAuth2 looks as simple as Google
has it and anyone can use it, including free accounts, not only paid.

({"error":"invalid_client","error_description":"AADSTS7000218:
The request body must contain the following parameter:
'client_assertion' or 'client_secret'...

My evolution version is 3.28.5-0ubuntu0.18.04.2.

My evolution-ews version is 3.28.5-0ubuntu0.18.04.1.

The error message looks similar to this one:
https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/58
See it for further pointers. I'm not sure whether you'd not need newer
evolution/evolution-ews, as that yours is ancient and there landed some
OAuth2 related changes meanwhile (especially the one referenced in the
above bug). I'd suggest to try a Flatpak version, but it's currently
suffering of a libsecret bug [1], thus you might wait until the GNOME
SDK/Platform is updated, which may happen some time next week, I guess.

        Bye,
        Milan

[1] https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/52




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]