Your own Cloud: Sync calendar and contacts with Outlook and Android

Nextcloud is an extensive cloud solution, that offers more than storing and providing data in a cloud. Another feature it offers, is calendar and contact management. Synchronization is possible via CalDAV/CardDAV. In this article, I’ll explain, how to set up calendar and contacts in your Nextcloud instance and how to sync them with Outlook on your PC and your Android devices. Other than the articles about installing, optimizing and updating Nextcloud on a Synology DiskStation, this article is for all Nextcloud environments.

Activate calendar and contacts

First of all, activate the calendar and contacts apps in Nextcloud.

  1. Open the web interface and log in.
  2. Choose “Apps” in the menu on the upper left. Here you could extend your cloud with different apps. Those are organized in categories. The apps we are looking for, could be found under “Organization”.
    Nextcloud menu
    app management via web interface

    App store
    calendar and contacts app at the app store
  3. Activate the “Calendar” app and the “Contacts” app.
  4. Open the calendar app in the menu on the upper left.
  5. Create a new calendar.

    Calendar management
    add new calendars at the menu on the left
  6. Save the calendar URLĀ for a later use. Click on the 3 dots beside the calendar name and then click on “Link”.

    calendar URL
    the URL for syncing the calendar
  7. Open the contacts app.
  8. Save the contacts URL for later. It can be found in the settings, bottom left.

    contacts URL
    URL for syncing the contacts

That’s all we have to do in Nextcloud.

First sync

Before you start syncing, you should spend a thought or two on your next steps. Best thing to do is, starting with a clean calendar and contacts list. This prevents problems at the first sync. Choose one platform (Nextcloud, Outlook, Android) and start there with an empty calendar and contacts list. Now add all appointments and contacts. Doing it that way, prevents you from deleting duplicates and resolving conflicts later manually afterwards. As an alternative, you could add all missing items on one platform and delete everything on the others.
If you already have a lot of contacts on several devices and you want to solve this by synchronizing them, don’t forget that, on each client, you could choose in which direction you want to sync. This prevents spreading duplicates and conflicts to all devices. E.g. start sending your data from Outlook to the server (sync to server only, not both directions). Do the same with your android device(s). In the Nextcloud apps, you could now solve all issues (deleting duplicates, solving conflicts, etc.). Afterwards activate 2 way sync on all devices. If you want to be on the save side, activate server –> client sync and delete all local data and get the clean data from server. After that activate 2 way sync.

Configure Outlook Synchronization

Even in 2017, Outlook doesn’t support Card/CalDAV. But there is a solution for that issue. Google provides links to all kind of plugins. But most of them are quite expensive and aren’t even supported anymore. If you dig a bit deeper, you’ll find a student project from the University of applied science Technikum Wien. The plugin is up to date and gets frequent updates. It is even recommended by Nextcloud officially.

  1. Download and install Outlook CalDav Synchronizer.
  2. Set up the synchronization profiles for calendar and contacts. Open the CalDav Synchronizer tab in Outlook.

    Outlook CalDav Synchronizer
    Outlook CalDav Synchronizer tab in Outlook 2016
  3. If you use a self signed certificate for your cloud, open “General Options” and tick “Disable Certificate Validation” under “SSL/TLS settings”.

    General settings
    activate “Disable Certificate Validation” to allow self signed certificates
  4. Go to “Synchronization Profiles” and add a new profile (green plus).

    Profile management
    Profile management
  5. Choose Nextcloud as a profile template.

    Nextcloud profile
    CalDav Synchronizer already offers a Nextcloud profile
  6. Name the profile and select the outlook calendar as sync folder. For “DAV Url” use the calendar URL, that you saved earlier. Finally add your user credentials. Clicking “Test or discover settings” checks the connection to the server.
    Nextcloud calendar profile
    settings for a Nextcloud calendar profile


    Outlook calendar folder
    we want to sync Nextcloud calendar with Outlook calendar
  7. Usually “Two-Way” is the preferred option for “Synchronization Mode”, but as I explained earlier, it could make sense to sync in only one direction.
  8. Repeat the steps above for your contacts, but this time, enter the contacts URL and select the contacts folder.
  9. “Synchronize now” starts the sync immediately. If something goes wrong, errors can be found under “Reports”.

Configure Android Synchronization

The Nextcloud app for android doesn’t support Cal/CardDAV itself. But also here, there is a bunch of apps solving the issue. Nextcloud recommends DAVdroid, other than the Outlook plugin, DAVdroid is not for free, but it offers an all in one solution that can be configured within the Nextcloud app.

  1. Install the Nextcloud app from Google Play.
  2. Install DAVdroid from Google Play.
  3. Open DAVdroid or go to the settings of Nextcloud app and open calendar and contact synchronization.
    Nextcloud app menu
    Nextcloud app menu


    Nextcloud app settings
    configure DAVdroid within Nextcloud app
  4. Select “Login with URL and username” and enter the URL “http(s)://yourNCdomain/remote.php/dav”, and your username and password.

    add a DAVdroid account
    add a DAVdroid account
  5. After successfully adding the account, the settings (sync interval, only sync via WLAN, sync mode, etc.) can be configured in DAVdroid.
  6. It’s possible to add and manage several accounts.

    DAVdroid account management
    DAVdroid account management
  7. Select your account in the main screen. Tick your calendar and contacts. Optionally, you could sync your contacts birthdays.

    choose sync tasks
    choose sync tasks
  8. Clicking DAVdroid sync icon starts the sync immediately.
  9. The Android calendar should now show the synced calendar and the contacts list should contain the contacts from the server.
    Calendar selection in Android calendar
    Calendar selection in Android calendar

Congratulations, your Nextcloud instance now works as a calendar and contacts server. Of course you could also use your tablets as clients. Also Apple hardware is possible, but due to a lack of devices, I can’t provide a tutorial for them.

Leave a Reply

Your email address will not be published. Required fields are marked *