Re: KMail with Office 365

Erik Quaeghebeur <[email protected]> Fri, 09 Dec 2022 16:48:29 +0100
Newsgroups gmane.comp.kde.users.pim
Message-ID <5747726.DvuYhMxLoT@tue023621>
> So I try also Akonadi EWS resource selecting OAuth2 (Office 365) as login 
> option. It then requires EWS URL where I try https://outlook.office365.com/
> EWS/Exchange.asmx 

I have the same kind of setup (although I use the server autodetect option, which selects the url you mention). I use my institute's email address as the username. That is about all configuration that I have.

> […] and I get the login window and enter password. Either it 
> seems to pass, but the Akonadi resource setting still has OK button grayed and 
> I can't continue, or I get an error "Failed to process EWS request: Access to 
> limited port is prohibited in POST."
> Any idea how to get Office 365 working in KMail?

You can consider trying the suggestion about changing the OAuth2AppId, as discussed on https://micreabog.wordpress.com/2018/10/30/we-have-oauth-and-were-strong/.


Best,

Erik