Tutorials/Kontact/Office365: Difference between revisions
m (formatting) |
(Fixed link to MS tutorial page. Courtesy of Tuor on IRC) |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
This is tested with 4.13.x and 4.14.10 KDE but might work with earlier versions. | This is tested with 4.13.x and 4.14.10 KDE but might work with earlier versions. | ||
==== Adding the calendar in read-only mode ==== | ==== Adding the calendar in read-only mode ==== <!--T:18--> | ||
<!--T:19--> | |||
Doing this is very easy, as Office 365 can export URLs with iCal files: | Doing this is very easy, as Office 365 can export URLs with iCal files: | ||
<!--T:20--> | |||
* Access the web interface of the calendar on Office 365 and click on <menuchoice>Share</menuchoice>. Then select "calendar" and insert your own e-mail address and select to share full details. | * Access the web interface of the calendar on Office 365 and click on <menuchoice>Share</menuchoice>. Then select "calendar" and insert your own e-mail address and select to share full details. | ||
<!--T:21--> | |||
* Then click <menuchoice>Send</menuchoice>. | * Then click <menuchoice>Send</menuchoice>. | ||
<!--T:22--> | |||
{{Remember|2=Important|1=Do not send the email to an Office 365 address, or this doesn't work.}} | {{Remember|2=Important|1=Do not send the email to an Office 365 address, or this doesn't work.}} | ||
<!--T:23--> | |||
* When you get the e-mail, look for the link that begins with "webcal://" and copy it. | * When you get the e-mail, look for the link that begins with "webcal://" and copy it. | ||
<!--T:24--> | |||
* Then in '''Korganizer''' right click on the list of calendars and select <menuchoice>Add calendar…</menuchoice>. Then select <menuchoice>iCal Calendar File</menuchoice> from the list. | * Then in '''Korganizer''' right click on the list of calendars and select <menuchoice>Add calendar…</menuchoice>. Then select <menuchoice>iCal Calendar File</menuchoice> from the list. | ||
<!--T:25--> | |||
* In the <menuchoice>Filename</menuchoice> field you need to paste the "webcal://" URL. But you need to replace the initial "webcal://" with "https://". | * In the <menuchoice>Filename</menuchoice> field you need to paste the "webcal://" URL. But you need to replace the initial "webcal://" with "https://". | ||
===Get Read/write access=== | ===Get Read/write access=== <!--T:26--> | ||
</translate> | </translate> | ||
<ol> | <ol> | ||
<li><p><translate><!--T:4--> | <li><p><translate><!--T:4--> | ||
Get mail working. This is fairly easy as Office365 supports both pop3 and IMAP4. Instructions for settings can be found [ | Get mail working. This is fairly easy as Office365 supports both pop3 and IMAP4. Instructions for settings can be found [https://support.office.com/en-us/article/HA102834584 here].</translate></p> | ||
<p><translate><!--T:5--> | <p><translate><!--T:5--> |
Latest revision as of 13:00, 11 February 2020
How to use Office365.com with Kontact
Scenario: you want to use KDEPIM Kontact - with cloudbased Office365.com (it might work with LAN-based exchange, untested)
This is tested with 4.13.x and 4.14.10 KDE but might work with earlier versions.
Adding the calendar in read-only mode
Doing this is very easy, as Office 365 can export URLs with iCal files:
- Access the web interface of the calendar on Office 365 and click on . Then select "calendar" and insert your own e-mail address and select to share full details.
- Then click .
- When you get the e-mail, look for the link that begins with "webcal://" and copy it.
- Then in Korganizer right click on the list of calendars and select . Then select from the list.
- In the field you need to paste the "webcal://" URL. But you need to replace the initial "webcal://" with "https://".
Get Read/write access
Get mail working. This is fairly easy as Office365 supports both pop3 and IMAP4. Instructions for settings can be found here.
You can also choose to access mail via DavMail, see below for installation instructions. This is said to handle Outlook invitations sent via Exchange better (not tested by the author of this article). In such case when you install DavMail tick setting for IMAP and set up your KMail account accordingly.
Get your Office365 calendar and contacts in Kontact. For this use DavMail as intermediary "go-between". So first of all install DavMail, for Debian/(x)Ubuntu users here is a deb package, for others a shell installer.
Once that is done start DavMail and configure it. In KDE a "systray" should pop up for basic settings. "Untick" the mail settings but leave Caldav and LDAP settings. The other setting you need is OWA URL that for Office365 is https://outlook.office365.com/owa
All other settings are done in Kontact/KDEPIM.
To get Calendar working (shared calendars are not tested, feel free to experiment):
. Put yourid@yourdomain.comorgnet and your password, choose Davical server. For server name and path put anything, you will edit later in any case. Click .On next menu set a name for your resource and click
on the fictional resource. Leave "CalDav" as protocol but change remote url tohttp://localhost:1080/users/yourname@yo ... /calendar/
and credentials toyourname@yourdomain.comorg
and your password, then click and your Calendar should show up. Set a preferred refesh rate and in Kontact do not forget to now tick this Calendar to activate it.-
To get your Contacts working:
. Putyourid@yourdomain.comorgnet
and your password, choose Davical server. For server name and path put anything, you will edit later in any case. Click .On next menu set a name for your resource and click
on the fictional resource. Choose CardDav as protocol but change remote url tohttp://localhost:1080/users/yourname@yo ... /contacts/
and credentials toyourname@yourdomain.comorg
and your password, then click and your Contacts should show up. Set a preferred refresh rate and in Kontact do not forget to now tick this Address Book to activate it. Finally to access "public address books". They can be found as LDAP via Kontact/Kaddressbook in KAddressbook
. Then select on the left column LDAP Server Settings and click .Set this up as "host:localhost", "port:1389", "DN=ou.people", "authentication:simple" "Bind DN" as "yourid@yourdomain.comorgnet" and password well you should know next time you compose a new mail you can now use
button and then .