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



On 2020-04-22 14:38, Milan Crha via evolution-list wrote:
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.

Hi,

I tried the suggestions/pointers as outlined in the following link

https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/58

But it still doesn't work for me.

Maybe my evolution and evolution-ews is too old?

Do I need to download the latest source code for evolution and evolution-ews and compile them myself?

Are there any good guides for me to follow?

Thank you.



        Bye,
        Milan

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


--
-----BEGIN EMAIL SIGNATURE-----

The Gospel for all Targeted Individuals (TIs):

[The New York Times] Microwave Weapons Are Prime Suspect in Ills of
U.S. Embassy Workers

Link: https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwave.html

********************************************************************************************

Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic
Qualifications as at 14 Feb 2019 and refugee seeking attempts at the United Nations Refugee Agency Bangkok (21 Mar 2017), in Taiwan (5 Aug 2019) and Australia (25 Dec 2019 to 9 Jan 2020):

[1] https://tdtemcerts.wordpress.com/

[2] https://tdtemcerts.blogspot.sg/

[3] https://www.scribd.com/user/270125049/Teo-En-Ming

-----END EMAIL SIGNATURE-----


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