<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/ManagementTest",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rmdm-declarations:ManagementTest"
  },
  "title" : "ManagementTest"
}
-->

# ManagementTest

The declaration to configure a declarative device management test.

```
object ManagementTest
```

## 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                              |
|Apply                           |Multiple configurations are applied separately  |

### Configuration example

This configuration tests the management framework with a custom status result.

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)