Already a NinjaOne customer? Log in to view more guides and the latest updates.

Device Roles

Topic

Learn how to configure and manage device roles in NinjaOne.

Environment

NinjaOne Endpoint Management

Description

Device roles let you create custom roles for devices, which will then work with policy assignments.

View additional tutorials in our video library.

Index

Select a category to learn more: 

Required Permissions to Modify Device Role Assignment

Note the following permission requirements for modifying device role assignment:

  • Only system administrators can create, update, or delete device role configuration.
  • Technicians with permissions enabled to modify device roles can change role assignment for devices.

Creating a Device Role

To add a new device role, perform the following steps: 

  1. Navigate to AdministrationDevicesRoles. The Managed devices category will automatically expand. To learn more about unmanaged devices, refer to Working with Unmanaged or Unsupported Devices in NinjaOne (ITAM).
  2. Move your cursor over the top-level device role within the hierarchy and click the ellipsis icon. Click Add to create a new role.
    • For unmanaged devices, you can continue to expand existing device roles and create subtypes by clicking the angle bracket (>) icon. Subtypes inherit the properties defined for the device type.
add device role.png
Figure 1: Add device role (click to enlarge)
  1. Name the new role (required) and add a description (optional), then click Add. Your new custom device role will now appear in the list of roles.

Adding Custom Fields to a Device Role

You can add custom fields to all device roles by editing the topmost level. To learn how to create custom fields, refer to Custom Field Setup.

  1. Navigate to AdministrationDevices Roles.
  2. Move your cursor over a device role, click the Action (ellipsis) icon, and select Edit.
Edit device role.png
Figure 2: Edit device role (click to enlarge)

If you add custom fields to a top-level Managed devices role, NinjaOne will display them in all child device roles.

A pin (or thumbtack) icon next to a tab or custom field name indicates that it has been added to a top-level device role. You cannot move, delete, or reorder this field from the inherited role. Refer to Custom Fields: Resource Catalog to learn more.

Creating and Adding Custom Fields

To learn how to assign custom fields to the device role, refer to the following table and Figure 6, below. 

Figure 6 KeyDescription or Purpose
1The Input fields tab is open by default and allows you to add custom fields to the device role. The Static elements tab allows you to add a description, separator, or title to format the custom fields. 
2The Filters icon helps you find specific custom field types. The Create input field icon (+) lets you create a new custom field. 
3Click the plus sign (+) next to the custom field that you want to assign to the device role. The custom fields will display in the order you selected them. 
4Switch tab views if you have more than one tab created. Each tab allows you to customize the list of custom fields; you can either add completely different custom fields to each tab or duplicate them. These tabs display on the device dashboard under the Custom tab. 
5Create, edit, hide, delete, or rearrange the order of your tabs. These tabs will extend to all unmanaged roles, but if you hide a tab it will only be hidden for that selected role. 
6The "inherited" tag indicates that the custom field was added at the top level. To remove an inherited custom field, you must edit the Managed devices or Unmanaged devices role level. 
7Move your cursor over the custom field to remove the assignment from the device role. It will return to the Input fields tab. You cannot remove inherited fields. 
custom field mapping page.png
Figure 3: Assign custom fields to a device role → Configuration overview (click to enlarge)

Assigning a Role to a Device

System administrators can enable advanced installer options to generate installers, automatically assigning devices to a specific role upon registration. When this setting is enabled, an option to select a device role will be present when generating a Windows, Mac, or Linux installer.

add computer_device role.png
Figure 4: Select device role when adding a device (click to enlarge)

If you select Auto as the device role option, or if you turn this setting off, NinjaOne automatically assigns devices to a role based on the following criteria:

  • Windows: NinjaOne bases role assignment on the chassis type assigned to the device locally and the OS version.
  • Mac: NinjaOne bases role assignment on the chassis type and whether the macOS Server app is installed
  • Linux: NinjaOne bases role assignment on the image's description as a server, as listed in the /etc/os-release file. Otherwise, the system will default to assigning all machines the Linux Desktop role.

Changing Device Roles

When a device role is changed, NinjaOne reassigns it to the policy set for that role in the organization settings.

There are two different methods for changing roles:

  • Navigate to the device dashboard and open the Settings tab. Then, click Edit where the currently configured device role is listed and select a new option when prompted.
  • Navigate to the Devices tab, select the devices whose roles you want to change, and click Update Device Role.
If you are changing the device role for multiple devices, the devices you select must be the same type (for example, all Windows or all macOS devices).

Assigning Default Policies to Device Roles

Default policies determine what policy is assigned to a device when you add it to NinjaOne. However, you can always reassign a device to a different policy at a later time.

  • You cannot assign default policies to unmanaged device roles.
  • You can select policies in AdministrationPolicies. For instructions, refer to Policies: Create a New Policy

To assign default policies for an organization:

  1. Navigate to the configuration page for one of your organizations (AdministrationOrganizations) and select the Policies tab.
  2. Select your preferred default policies from the drop-down menu for each role. If you use NMS, VMware monitoring, or MDM with this organization, repeat this step for the roles in the NMS PoliciesVirtualization, and MDM Policies tabs.
default policy for device role.png
Figure 5: The organization configuration page (click to enlarge)

Additional Resources

Learn more about managing and enrolling devices in our Device Enrollment and Management: Resource Catalog. article.

FAQ

Next Steps