Category filter

CardDav Settings for iOS

CardDAV (vCard Extensions to WebDAV) is an address book protocol that allows users to sync corporate contacts from the CardDAV server to their managed devices. Hexnode lets you remotely add and remove contacts from your managed iOS devices without the need for any user interaction. The synced contacts get saved to the Contacts app inside the iOS device.

Note:


CardDAV is available on editions above Express.

Configure CardDAV settings for iOS devices

To configure CardDAV settings via policy,

  1. Log in to your Hexnode MDM portal.
  2. Navigate to Policies > New Policy. Assign a suitable name and description (optional) for the policy. You can also choose to continue with an existing policy.
  3. Go to iOS > Accounts > CardDAV. Click on Configure. You will be presented with several options to configure the CardDAV settings.

Configure CardDav settings for iOS devices using Hexnode MDM
Settings Description
Account Description The display name of the CardDAV account to distinguish the account in case of multiple accounts.
Host Name The hostname of the server where the contacts are stored. Either the IP address or Fully Qualified Domain Name (FQDN) of the CardDAV server has to be entered. This field is mandatory.
Port The port number of the CardDAV server in use. By default, it is 8443. This field is mandatory.
Principal URL The URL which provides information about the user’s CardDAV and CalDAV accounts. A user will have a single principal URL. For example, the Google CardDAV API supports the following URL:
https://www.googleapis.com/carddav/v1/principals/userEmail.
Username The email address of the account from which the contacts are to be synced. Hexode supports the use of wildcards %email% and %alternateemail% in this field. This field is mandatory.
Password The password associated with the CardDAV account.
Note:


If this field is left empty or if the password entered is incorrect, a prompt appears on the device end asking the user to enter the correct password.

Use SSL SSL provides a secure (encrypted) connection between the iPhone/iPad and the server. Enabled by default.

Sync Google Contacts in CardDAV

Google contacts provide a CardDAV interface that you can use to view and manage your contacts using CardDAV protocol. Contacts are stored in the user’s Google account; most Google services have access to the contact lists. Inside the policy, fill the CardDAV settings in the following way to sync Google contacts in CardDAV:

Settings Description
Account Description The display name of the Google account to distinguish the account in case of multiple accounts.
Host Name The hostname of the server where contacts are stored. Enter the IP address or the Fully Qualified Domain Name (FQDN) of Google, which is “google.com”. This field is mandatory.
Port The port number used. By default, it is 8443. This field is mandatory.
Principal URL The principal URL to be used. In this case, enter “google.com”. A user will have a single principal URL.
Username The email address of the Google account from which the contacts are to be synced. Hexnode supports the use of wildcards %email and %alternateemail%. This field is mandatory.
Password App-specific password of the CardDAV account must be used.
Note:


A prompt will appear on the devices asking the user to enter the correct password if this field is left blank or if the password provided is incorrect.

Use SSL SSL provides a secure(encrypted) connection between the iPhone/iPad and the server. Enabled by default.

How to Associate targets to a Policy?

Method 1: If the policy has not been saved,

  1. Navigate to Policy Targets > Devices > +Add Devices.
  2. The policy can also be associated with Device Groups, Users, User Groups and Domain by selecting any one of the above from the Policy Targets tab.

  3. Choose the target devices and click OK. Click Save.

Method 2: If the policy has been saved,

  1. Go to the Policies tab and choose the desired policy.
  2. Click on the Manage tab and select Associate Targets.
  3. Choose the target entities and click Associate.

What happens at the device end?

Once the policy has been associated with the device, the configured CardDAV account will get added to the device. The synchronized contacts can be accessed from the Contacts app on the iOS device.
To check whether the CardDAV account has been successfully configured to your iOS device, head to Settings -> Contacts -> Accounts -> Click on the CardDAV account that you have configured from the Hexnode portal. The CardDAV account details will be shown on the device.

CardDav account information on iOS devices configured via Hexnode MDM

  • Managing iOS Devices