Good day
I've recently started playing with declarative management and I am not getting events reported. I am specifically interested in app installation status as shown at WWDC22.
This is reported on the status endpoint after sending the DeclarativeManagement command and at some other random points (doesn't seem to be tied to any action on the device like adding or removing managed apps as I would expect).
The device has fetched both my activation and subscription and the status for each shows active and valid. Can you see anything below that's missing? Are there any logs on device that may be helpful to see why it isn't firing off a status update when a managed app is added/removed as an example? I've tried watching logs in AC2 but couldn't see anything reported.
All status reports look like this:
{
"StatusItems" : {
"management" : {
"declarations" : {
"activations" : [
{
"active" : true,
"identifier" : "49F6F16A-70EB-4A89-B092-465FAEC5E550",
"valid" : "valid",
"server-token" : "ec26144b-8ece-54a6-aac0-8efc2a8b334d"
}
],
"configurations" : [
{
"active" : true,
"identifier" : "85B5130A-4D0D-462B-AA0D-0C3B6630E5AA",
"valid" : "valid",
"server-token" : "59eb13b9-5d51-54b9-8a4b-e8abe37c27ee"
}
],
"assets" : [
],
"management" : [
]
},
"client-capabilities" : {
"supported-versions" : [
"1.0.0"
],
"supported-payloads" : {
"declarations" : {
"activations" : [
"com.apple.activation.simple"
],
"assets" : [
"com.apple.asset.credential.userpassword",
"com.apple.asset.useridentity"
],
"configurations" : [
"com.apple.configuration.account.caldav",
"com.apple.configuration.account.carddav",
"com.apple.configuration.account.exchange",
"com.apple.configuration.account.google",
"com.apple.configuration.account.ldap",
"com.apple.configuration.account.mail",
"com.apple.configuration.account.subscribed-calendar",
"com.apple.configuration.legacy",
"com.apple.configuration.legacy.interactive",
"com.apple.configuration.management.status-subscriptions",
"com.apple.configuration.management.test",
"com.apple.configuration.passcode.settings"
],
"management" : [
"com.apple.management.organization-info",
"com.apple.management.properties",
"com.apple.management.server-capabilities"
]
},
"status-items" : [
"account.list.caldav",
"account.list.carddav",
"account.list.exchange",
"account.list.google",
"account.list.ldap",
"account.list.mail.incoming",
"account.list.mail.outgoing",
"account.list.subscribed-calendar",
"device.identifier.serial-number",
"device.identifier.udid",
"device.model.family",
"device.model.identifier",
"device.model.marketing-name",
"device.operating-system.build-version",
"device.operating-system.family",
"device.operating-system.marketing-name",
"device.operating-system.version",
"management.client-capabilities",
"management.declarations",
"mdm.app",
"passcode.is-compliant",
"passcode.is-present",
"test.array-value",
"test.boolean-value",
"test.dictionary-value",
"test.error-value",
"test.integer-value",
"test.real-value",
"test.string-value"
]
},
"supported-features" : {
}
}
},
"device" : {
"operating-system" : {
"version" : "16.0",
"family" : "iPadOS",
"build-version" : "20A5283p"
},
"model" : {
"family" : "iPad"
},
"identifier" : {
"udid" : "****7958f683a***********00a7b1b********",
"serial-number" : "F9FW********"
}
}
},
"Errors" : [
]
}
This is my activation:
{
"Identifier": "49F6F16A-70EB-4A89-B092-465FAEC5E550",
"Type": "com.apple.activation.simple",
"Payload": {
"StandardConfigurations": ["85B5130A-4D0D-462B-AA0D-0C3B6630E5AA"]
},
"ServerToken": "ec26144b-8ece-54a6-aac0-8efc2a8b334d"
}
And this is the subscription:
{
"Identifier": "85B5130A-4D0D-462B-AA0D-0C3B6630E5AA",
"Type": "com.apple.configuration.management.status-subscriptions",
"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.version"
}, {
"Name": "management.client-capabilities"
}, {
"Name": "management.declarations"
}, {
"Name": "passcode.is-compliant"
}, {
"Name": "passcode.is-present"
}, {
"Name": "mdm.app"
}]
},
"ServerToken": "59eb13b9-5d51-54b9-8a4b-e8abe37c27ee"
}
Any direction would be appreciated.