Hi,
I use kcontact (thus kmail and korganizer) in Interactive mode because of 2FA through an SSO (Okta) and the Office 365 is set on EWS only (no IMAP). I set keepAlive=true.
The emails are working well but I have an issue with the calendar: In my Office account, I created other calendars, say "xxx" and "yyy", When setting the CalDav URLs, and clicking on "fetch", I thus have something like:
Calendar | http://localhost:1080/users/my.name@mycompany.com/calendar/
Xxx | http://localhost:1080/users/my.name@mycompany.com/calendar/xxx
Yyy | http://localhost:1080/users/my.name@mycompany.com/calendar/yyy
The first line is the default calendar in my account, where most of the events, meetings etc are.
I can perfectly sync the calendars Xxx and Yyy but not the default (main one). It looks like it is empty.
In other DAV accounts that I have on other clouds, all the calendars have a name and no one is directly at the root of the CalDav URL, so perhaps this is the cause of the issue here.
Here is the tail of the logs when I clicked on the manual sync:
2019-09-10 23:32:42,992 DEBUG [CaldavConnection-36194] davmail - >
2019-09-10 23:32:42,992 DEBUG [CaldavConnection-36194] davmail - Listing item 31/31
2019-09-10 23:32:42,992 DEBUG [CaldavConnection-36194] davmail - > 963
2019-09-10 23:32:42,992 DEBUG [CaldavConnection-36194] davmail.caldav.CaldavConnection - > op><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response><D:response><D:href>/users/John.smith@smithcorp.com/calendar/AAMkADMyYjIwYjQ0LWZlNjMtNDVhZC05NTZiLTFjODU2MmI0OTBlMwBGAAAAAACppiIhkRu_RKViDEf9vQ9OBwDq6GPhF3_zSaBX7s27hjdjAAAAKr34AADqFonEjsj_T53R-z9UfgZMAABCN7F9AAA%3D.EML</D:href><D:propstat><D:prop><D:resourcetype/><D:displayname>AAMkADMyYjIwYjQ0LWZlNjMtNDVhZC05NTZiLTFjODU2MmI0OTBlMwBGAAAAAACppiIhkRu_RKViDEf9vQ9OBwDq6GPhF3_zSaBX7s27hjdjAAAAKr34AADqFonEjsj_T53R-z9UfgZMAABCN7F9AAA=.EML</D:displayname></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response><D:response><D:href>/users/John.smith@smithcorp.com/calendar/YYY/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/><C:calendar/></D:resourcetype><CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxOS0wMy0wMVQwNToxNjo0Mlo=</CS:getctag><D:displayname>YYY</D:displayname><C:supported-calendar-component-set><C:comp name="VEVENT"/><C:comp name="VTODO"/></C:supported-calendar-component-set><D:current-user-privilege-set><D:privilege><D:read/><D:write/></D:privilege></D:current-user-privilege-set></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response><D:response><D:href>/users/John.smith@smithcorp.com/calendar/XXX/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/><C:calendar/></D:resourcetype><CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxOS0wOC0yMFQwNjowMjozMFo=</CS:getctag><D:displayname>XXX</D:displayname><C:supported-calendar-component-set><C:comp name="VEVENT"/><C:comp name="VTODO"/></C:supported-calendar-component-set><D:current-user-privilege-set><D:privilege><D:read/><D:write/></D:privilege></D:current-user-privilege-set></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response><D:response><D:href>/users/John.smith@smithcorp.com/calendar/ZZZ/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/><C:calendar/></D:resourcetype><CS:getctag xmlns:CS="http://calendarserver.org/ns/">MjAxOS0wOC0yMFQwNjowMjozMVo=</CS:getctag><D:displayname>ZZZ</D:displayname><C:supported-calendar-component-set><C:comp name="VEVENT"/><C:comp name="VTODO"/></C:supported-calendar-component-set><D:current-user-privilege-set><D:privilege><D:read/><D:write/></D:privilege></D:current-user-privilege-set></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
2019-09-10 23:32:42,992 DEBUG [CaldavConnection-36194] davmail - >
2019-09-10 23:32:42,993 DEBUG [CaldavConnection-36194] davmail - > 0
2019-09-10 23:32:42,993 DEBUG [CaldavConnection-36194] davmail - >
2019-09-10 23:33:43,029 INFO [CaldavConnection-36194] davmail.connection - DISCONNECT - 0:0:0:0:0:0:0:1:36194
Thankyou for your attention.
Best!
One can see in the logs at line 4 that the first calendar has a wrong and weird URL, ending by
/calendar/AAMkADMyYjIwYjQ0LWZlNjMtNDVhZC05NTZiLTFjODU2MmI0OTBlMwBGAAAAAACppiIhkRu_RKViDEf9vQ9OBwDq6GPhF3_zSaBX7s27hjdjAAAAKr34AADqFonEjsj_T53R-z9UfgZMAABCN7F9AAA%3D.EMLinstead of merely/calendar/, and the display name is the same.I am sorry, maybe I should have filed this ticket in kmail's bugtracker. I have tried in Windows\Thunderbird and everything works fine. :(
Thanks for your feedback, closing this ticket