This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Synchronization with office365

Tags: None
(comma "," separated)
ekoster
Registered Member
Posts
3
Karma
0

Synchronization with office365

Tue Oct 13, 2020 6:15 am
Hi all. I can't see detailed information on this on the project site. I read you can configure office365 as account, but to what level does it actually synchronize? I want to use it with my business mailbox, so would prefer sync over imap, and also if it will sync the calendar. It would be nice if you see shared calendars too, but first things first.

Does someone use it like this and/or can someone explain what is or isn't possible?
DeMus
Registered Member
Posts
140
Karma
0

Re: Synchronization with office365

Sat Oct 24, 2020 9:12 am
Hello, yes I do use it and for e-mail it works okay, no problems whatsoever. As with all e-mail accounts find the right servername, port and authentication method. Add all this into your account in Kmail and it works.
Regarding calendar and contacts: this is different. This I could not get working at all. No idea which type of calendar I need to use and what to type in to the settings for this new calendar, nor the contacts.
So it's half-half. But maybe I am doing something wrong in setting up the calendar and the contact list, so if somebody here knows how to do that then please tell us.
f0rmat
Registered Member
Posts
1
Karma
0

Re: Synchronization with office365

Sat Dec 19, 2020 1:08 pm
I have the same issue. I really like Kontact, but I cannot get it to synchronize with my Office365 Calendar or Contacts. I have tried using DavMail and it did not work.
enqueue
Registered Member
Posts
3
Karma
0

Re: Synchronization with office365

Fri Mar 12, 2021 7:19 am
I am trying to follow the instruction in the "Exchange" section on the https://userbase.kde.org/Kmail/Configuring_Kmail/Accounts/Office_365 UserBase Wiki space. While the first steps work fine, and I am prompted with the log-in dialog, the "OK" action of this dialog stays disabled. The app is registered successfully under "My Account" in Office365. What am I doing wrong?

Here is an excerpt from the log file that might be helpful:

Code: Select all
[2021-03-12T06:58:50.558Z] akonadi_ews_resource default Please register the custom scheme 'urn' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
[2021-03-12T06:58:50.558Z] akonadi_ews_resource org.kde.pim.ews.client Starting OAuth2 authentication
[2021-03-12T06:58:50.802Z] akonadi_ews_resource org.kde.pim.ews.client Authentication succeeded
[2021-03-12T06:58:50.805Z] akonadi_ews_resource org.kde.pim.ews.client.proto "<?xml version=\"1.0\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:m=\"http://schemas.microsoft.com/exchange/services/2006/messages\" xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\"><soap:Header><t:RequestServerVersion Version=\"Exchange2007_SP1\"/></soap:Header><soap:Body><m:GetFolder><m:FolderShape><t:BaseShape>IdOnly</t:BaseShape></m:FolderShape><m:FolderIds><t:DistinguishedFolderId Id=\"inbox\"/></m:FolderIds></m:GetFolder></soap:Body></soap:Envelope>\n"
[2021-03-12T06:58:50.806Z] akonadi_ews_resource org.kde.pim.ews.client.request Starting GetFolder request ((EwsId(Distinguished: inbox)))
[2021-03-12T06:58:50.908Z] akonadi_ews_resource org.kde.pim.ews.client.proto data KIO::TransferJob(0x556dcbe6d010) "<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Header><h:ServerVersionInfo MajorVersion=\"15\" MinorVersion=\"20\" MajorBuildNumber=\"3933\" MinorBuildNumber=\"32\" Version=\"V2018_01_08\" xmlns:h=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/"
[2021-03-12T06:58:50.908Z] akonadi_ews_resource org.kde.pim.ews.client.proto data KIO::TransferJob(0x556dcbe6d010) "></s:Header><s:Body><m:GetFolderResponse xmlns:m=\"http://schemas.microsoft.com/exchange/services/2006/messages\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\"><m:ResponseMessages><m:GetFolderResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:Folder><t:FolderId Id="
[2021-03-12T06:58:50.908Z] akonadi_ews_resource org.kde.pim.ews.client.proto data KIO::TransferJob(0x556dcbe6d010) "\"AQMkADQ0ADBjMDUxOS05ODJhLTRkMjctYWM0MC05NjE0ODgBNmE3OTYALgAAA9su9INJwvNDj4knROeA2NMBAIOxVI0u3RdGgeFkWfxKb+gAAAIBDAAAAA==\" ChangeKey=\"AQAAABYAAACDsVSNLt0XRoHhZFn8Sm/oAAOpSxa+\"/></t:Folder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse"
[2021-03-12T06:58:50.908Z] akonadi_ews_resource org.kde.pim.ews.client.proto data KIO::TransferJob(0x556dcbe6d010) "></s:Body></s:Envelope"
[2021-03-12T06:58:50.908Z] akonadi_ews_resource org.kde.pim.ews.client.proto data KIO::TransferJob(0x556dcbe6d010) ">"
[2021-03-12T06:58:50.908Z] akonadi_ews_resource org.kde.pim.ews.client.proto data KIO::TransferJob(0x556dcbe6d010) ""
[2021-03-12T06:58:50.909Z] akonadi_ews_resource org.kde.pim.ews.client.proto response dumped to "/tmp/akonadi-ews-BleSSFY/ews_xmldump_YnvAnLS.xml"
[2021-03-12T06:58:50.909Z] akonadi_ews_resource org.kde.pim.ews.client.request Got GetFolder response (id: 3i9srn, name: )

...

[2021-03-12T07:02:38.007Z] akonadi_ews_resource org.kde.pim.ews Setting up authentication
[2021-03-12T07:02:38.008Z] akonadi_ews_resource org.kde.pim.ews Using password-based authentication
[2021-03-12T07:02:38.008Z] akonadi_ews_resource org.kde.pim.ews Initializing authentication
[2021-03-12T07:02:38.008Z] akonadi_ews_resource org.kde.pim.ews requestPassword: start
[2021-03-12T07:02:38.009Z] akonadi_ews_resource org.kde.pim.ews requestPassword: password already set
[2021-03-12T07:02:38.009Z] akonadi_ews_resource org.kde.pim.ews.client.proto "<?xml version=\"1.0\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:m=\"http://schemas.microsoft.com/exchange/services/2006/messages\" xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\"><soap:Header><t:RequestServerVersion Version=\"Exchange2007_SP1\"/></soap:Header><soap:Body><m:GetFolder><m:FolderShape><t:BaseShape>IdOnly</t:BaseShape><t:AdditionalProperties><t:FieldURI FieldURI=\"folder:DisplayName\"/><t:ExtendedFieldURI PropertySetId=\"9bf757ae-69b5-4d8a-bf1d-2dd0c0871a28\" PropertyName=\"GlobalTags\" PropertyType=\"StringArray\"/><t:ExtendedFieldURI PropertySetId=\"9bf757ae-69b5-4d8a-bf1d-2dd0c0871a28\" PropertyName=\"GlobalTagsVersion\" PropertyType=\"Integer\"/></t:AdditionalProperties></m:FolderShape><m:FolderIds><t:DistinguishedFolderId Id=\"msgfolderroot\"/><t:DistinguishedFolderId Id=\"inbox\"/></m:FolderIds></m:GetFolder></soap:Body></soap:Envelope>\n"
[2021-03-12T07:02:38.009Z] akonadi_ews_resource org.kde.pim.ews.client.request Starting GetFolder request ((EwsId(Distinguished: msgfolderroot), EwsId(Distinguished: inbox)))
[2021-03-12T07:02:38.010Z] akonadi_ews_resource kf.kio.core Invalid URL: QUrl("")
[2021-03-12T07:02:38.010Z] akonadi_ews_resource org.kde.pim.ews.client.proto response dumped to "/tmp/akonadi-ews-BleSSFY/ews_xmldump_UgBPtHF.xml"
[2021-03-12T07:02:38.011Z] akonadi_ews_resource org.kde.pim.ews.client Failed to process EWS request: Access to restricted port in POST denied.
[2021-03-12T07:02:38.011Z] akonadi_ews_resource default ERROR "Failed to process EWS request: Access to restricted port in POST denied."
frispete
Registered Member
Posts
2
Karma
0

Re: Synchronization with office365

Thu Jun 03, 2021 2:27 pm
A bit late, but did you follow the manual? Especially the part about specifying a (random) username/password before switching over to O365 (Step nr.2)?
enqueue
Registered Member
Posts
3
Karma
0

Re: Synchronization with office365

Wed Jul 14, 2021 4:45 am
frispete wrote:A bit late, but did you follow the manual? Especially the part about specifying a (random) username/password before switching over to O365 (Step nr.2)?


Success! I must have missed this additional, curious step ;) Thank you for your hint!
courgettedesbois
Registered Member
Posts
8
Karma
0

Re: Synchronization with office365

Fri Aug 06, 2021 10:32 am
Hi all,

Hope i'll get some help here, i still cannot get it working, and i cannot use the IMAP system anymore, my company just moved to office365 only login with phone text code to add extra security.

i've tried making a fresh start to akonady, removing all the old stuff, and i tried again.
i followed the manual linked above, ... and I got the same answer than usual :
- my company log page appears
- i fill it.
- got the text message code
- press OK
- akonady crashes.
- the account folders do appear! but they are empty
- the account status says ready
- the calendar name is in kalendar, but empty.
- i can't modify the account settings - have no access to it
- akonady crashes everytime i restart the EWS account and try to update it.
-- it might me something on my company side, but MACOS users seems to get it working, so... i am not sure.
If one of you guys know, that would be Awesome!

Many thanks in advance!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]