Password prompt for CardDAV policy on re-installing the same profile

  1. Enrol Supervised iOS device.
  2. Push an CardDAV policy for the above device, the contacts gets synced in the native Contacts app as expected. (https://developer.apple.com/documentation/devicemanagement/carddav)
  3. When the above same profile is re-installed in the above device, the synced contacts are lost and password prompt is shown to enter the password - even though the installed profile contains password for the CardDAV policy.

Password prompt from the device

Re-Installed configuration

<?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>PayloadVersion</key>
	<integer>1</integer>
	<key>PayloadUUID</key>
	<string>35ee541b-fec0-46b0-bd48-bcc0702ab60b</string>
	<key>PayloadType</key>
	<string>Configuration</string>
	<key>PayloadOrganization</key>
	<string>MDM</string>
	<key>PayloadIdentifier</key>
	<string>com.mdm.ec89620f-2905-4c14-b09d-7e9f17944468.CardDAV</string>
	<key>PayloadDisplayName</key>
	<string>CardDAV</string>
	<key>PayloadRemovalDisallowed</key>
	<true/>
	<key>PayloadContent</key>
	<array>
		<dict>
			<key>PayloadVersion</key>
			<integer>1</integer>
			<key>PayloadUUID</key>
			<string>07c423b5-8ae2-4e6e-9336-aa9ca850d6c9</string>
			<key>PayloadType</key>
			<string>com.apple.carddav.account</string>
			<key>PayloadOrganization</key>
			<string>MDM</string>
			<key>PayloadIdentifier</key>
			<string>07cV423b5-8ae2-4e6e-9336-aa9ca850d6c9</string>
			<key>PayloadDisplayName</key>
			<string>CardDAV Policy</string>
			<key>CardDAVAccountDescription</key>
			<string>****</string>
			<key>CardDAVHostName</key>
			<string>www.googleapis.com</string>
			<key>CardDAVPassword</key>
			<string>****</string>
			<key>CardDAVPort</key>
			<integer>443</integer>
			<key>CardDAVPrincipalURL</key>
			<string></string>
			<key>CardDAVUseSSL</key>
			<true/>
			<key>CardDAVUsername</key>
			<string>****</string>
		</dict>
	</array>
</dict>
</plist>

Feedback ID : FB14250521

Password prompt for CardDAV policy on re-installing the same profile
 
 
Q