CalDAV
The payload that configures a Calendar account.
Declaration
object CalDAVProperties
| Name | Type | Description |
|---|---|---|
CalDAVAccountDescription | string | The description of the account. |
CalDAVHostName Required | string | The server’s address. |
CalDAVPassword | string | The user’s password. Only use this in encrypted profiles. |
CalDAVPort | integer | The server’s port. |
CalDAVPrincipalURL | string | The base URL to the user’s calendar. |
CalDAVUsername | string | The user name for logins. If this profile is part of a non-interactive install, the system requires this field. |
CalDAVUseSSL | boolean | If |
VPNUUID | string | The VPNUUID of the per-app VPN the account uses for network communication. Available in iOS 14 and later. |
Discussion
Specify com.apple.caldav.account as the payload type.
Profile availability
Device channel | iOS, visionOS |
User channel | macOS, Shared iPad |
Allow manual install | iOS, macOS, visionOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | iOS, macOS, visionOS |
Allow multiple payloads | iOS, macOS, Shared iPad, visionOS |
Profile example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>CalDAVAccountDescription</key>
<string>My CalDAV Account</string>
<key>CalDAVHostName</key>
<string>server.example.com</string>
<key>CalDAVPassword</key>
<string>Password123</string>
<key>CalDAVPort</key>
<integer>443</integer>
<key>CalDAVUseSSL</key>
<true/>
<key>CalDAVUsername</key>
<string>juanchavez4@example.com</string>
<key>PayloadIdentifier</key>
<string>com.example.mycaldavpayload</string>
<key>PayloadType</key>
<string>com.apple.caldav.account</string>
<key>PayloadUUID</key>
<string>603409f1-b611-459d-9584-0ed12bc25b5b</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>CalDAV</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>5c8bb406-a74c-4338-93c6-b403a040cc91</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>