I am sending DeclarativeManagement with the MDM command, but it seems that it is not valid even if I send it to declaration-items
What can you think of?
iOS 16
MDM Command
<?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>Command</key>
<dict>
<key>Data</key>
<data>
eyJTeW5jVG9rZW5zIjp7IlRpbWVzdGFtcCI6IjIwMjMtMTAtMThUMTE6MDY6MDJaIiwi
RGVjbGFyYXRpb25zVG9rZW4iOiJiNjU0NDAyN2EzMTVjZDAwODVkNGNmMDgxNzQ2MjRj
MmQxNDI0NDQ4MDQzMGE4N2IxNzZhMjcyN2U3MzY2MDA5In19
</data>
<key>RequestType</key>
<string>DeclarativeManagement</string>
</dict>
<key>CommandUUID</key>
<string>3398d0c0-8b36-4647-86ab-6a63f26d1576</string>
<key>UDID</key>
<string>XXXXXXX-ZZZZZZZZZZZZZz</string>
</dict>
</plist>
declaration-items Rersponse(json)
{
"DeclarationsToken": "1429e356-c51a-42a3-aff2-22963df30202",
"Declarations": {
"Assets": [
],
"Management": [
{
"Type": "com.apple.management.organization-info",
"Identifier": "e07d18d6-4ec6-432a-b474-9b8816d029a2",
"ServerToken": "4922d69c-c231-426d-9598-c3acb612069e",
"Payload": {
"Email": "email@example.com",
"Name": "Acme Inc",
"URL": "https://www.example.com"
}
}
],
"Configurations": [
{
"Type": "com.apple.configuration.legacy",
"Identifier": "84fe24b1-ac21-4a29-b279-70f715b3ac82",
"ServerToken": "0283b145-5791-4d7a-8a8e-7690e3a6db98",
"Payload": {
"ProfileURL": "https://gist.githubusercontent.com/jessepeterson/5a633f627bfc23f74153add89aee07f1/raw/f27458e05fd01b8ff9e7872a54aa2d543131afaa/cert-profile.mobileconfig"
}
},
{
"Type": "com.apple.configuration.passcode.settings",
"Identifier": "1f0ce810-6c6b-4021-86ae-2844396e58f8",
"ServerToken": "791e16ff-2011-4468-a201-de531d0c2326",
"Payload": {
"RequirePasscode": true,
"RequireComplexPasscode": false,
"RequireAlphanumericPasscode": false
}
},
{
"Type": "com.apple.configuration.management.status-subscriptions",
"Identifier": "004b8c95-3500-4ac8-9480-54311a462929",
"ServerToken": "888a4935-ef8d-4286-8c39-776fd8675f57",
"Payload": {
"StatusItems": [
{
"Name": "device.identifier.serial-number"
},
{
"Name": "device.identifier.udid"
},
{
"Name": "device.model.family"
},
{
"Name": "device.model.identifier"
},
{
"Name": "device.model.marketing-name"
},
{
"Name": "device.operating-system.build-version"
},
{
"Name": "device.operating-system.family"
},
{
"Name": "device.operating-system.marketing-name"
},
{
"Name": "device.operating-system.supplemental.build-version"
},
{
"Name": "device.operating-system.supplemental.extra-version"
},
{
"Name": "device.operating-system.version"
},
{
"Name": "mdm.app"
},
{
"Name": "passcode.is-compliant"
},
{
"Name": "passcode.is-present"
},
{
"Name": "test.array-value"
},
{
"Name": "test.boolean-value"
},
{
"Name": "test.dictionary-value"
},
{
"Name": "test.error-value"
},
{
"Name": "test.integer-value"
},
{
"Name": "test.real-value"
},
{
"Name": "test.string-value"
}
]
}
}
],
"Activations": [
{
"Type": "com.apple.activation.simple",
"Identifier": "90cb68bc-c37d-40cc-8cef-b462947329b2",
"ServerToken": "26985dc4-b0a0-43ef-afae-6ad3e89d5b9d",
"Payload": {
"StandardConfigurations": [
"e07d18d6-4ec6-432a-b474-9b8816d029a2",
"84fe24b1-ac21-4a29-b279-70f715b3ac82",
"1f0ce810-6c6b-4021-86ae-2844396e58f8",
"004b8c95-3500-4ac8-9480-54311a462929"
]
}
}
]
}
}