ChromeOS Flex errors during device enrollment

Problem

Upon enrollment of devices, you encounter one of the following errors:
This user account is not eligible for the service.
You do not have enough software licenses to enroll this device.
Oops! The system failed to establish the device installation-time attributes lock.

Environment

  • ChromeOS devices

Solution

You should apply one of the solutions listed below, based on the error message you received.

This user account is not eligible for the service
  1. Verify that the Google user credentials with which you are enrolling has the correct permissions.
  2. Ensure the user is in the correct OU in the Google Admin Console.
You do not have enough software licenses to enroll this device
  1. Verify that you have purchased sufficient Google Device Management Licenses to cover your Chrome OS Flex machines.
Oops! The system failed to establish the device installation-time attributes lock
This issue in most cases is caused by TPM. If explicit TPM steps are not mentioned already in the Certified Models List, look for any TPM/TCG/ Embedded Security related settings.
  1. Set TPM as hidden, and disable.
  2. Boot Chrome OS Flex.
  3. Re-enroll your device.
  4. If the issue persists, clear TPM, set TPM as hidden or disable TPM.
  5. Reinstall Chrome OS Flex.