Contents

ManagementTest

The declaration to test declarative device management.

Declaration

object ManagementTest

Properties

NameTypeDescription
Echo Requiredstring

The string to echo back in a status response reason.

EchoDataAssetReferencestring

The string to read from a data asset to echo back in status response reason description.

ReturnStatusstring

The status the system reports back when the device implements the configuration. Use this to override the normal success result.

Discussion

Specify com.apple.configuration.management.test as the declaration type.

Configuration availability

Allowed in supervised enrollment

iOS, macOS, Shared iPad, tvOS, visionOS, watchOS

Allowed in device enrollment

iOS, Shared iPad, tvOS, visionOS

Allowed in user enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in local enrollment

iOS, macOS, Shared iPad, tvOS, visionOS, watchOS

Allowed in system scope

iOS, macOS, Shared iPad, tvOS, visionOS, watchOS

Allowed in user scope

macOS, Shared iPad

Configuration example

{
    "Type": "com.apple.configuration.management.test",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "Echo": "Hello World!"
    }
}

See Also

Configurations