---
title: Setting custom attribute values for device or users
slug: device-management-apple/setting-custom-attribute-values-for-device-or-users
createdAt: 2026-10-06T07:47:35.532Z
---

Setting custom attribute values for device or user requires **Edit custom device attribute values** and **Edit custom user attribute values** roles.

## Set custom attributes for devices

**Procedure**

1. Log in to Admin Portal.
2. Select **Devices & Users > Devices**.
3. Check the box next to one or more devices.
4. Click **Actions > Set Custom Attributes**.
5. Set the value for attributes and click **Save**.
   You can also clear the value for an attribute by checking the **Clear Value** box and save.

## Set custom attributes for users

1. Log in to Admin Portal.
2. Go to **Devices & Users > Users**.
3. Check the box next to one or more users.
4. Click **Actions > Set Custom Attributes**.
5. Set the value for attributes and click **Save**.
   You can also clear the value for an attribute by checking the **Clear Value** box and save.

:::hint{type="info" indent="1"}
If you choose a single device or user when setting attribute values, the current attribute values are displayed. If you choose multiple devices or users, the current attribute values are not displayed.
:::

## Applying custom attributes to labels

Applying custom attributes to labels, requires **Label Management** permissions.

**Procedure&#xA0;**

1. Log in to the Admin Portal.
2. Go to **Devices & Users > Labels**.
3. Click **Add Label > Filter**.
4. Locate the attribute using one of the following options:
   - Search for it in the **Field**, **Operator**, or **Value** fields.
   - Expand **Field** > **Custom Attributes** **> Device Attributes**.
   - Expand **Field** > **Custom Attributes** **> User Attributes**.

:::Paragraph{indent="1"}
For more information about field definitions, see [Device field definitions](docId\:XAjGFnXxz6w8BW0rc7FjY).
:::

5. Complete the criteria.
6. Click **Save**.
