Failed to "Create Service Account" due to errors: user do not have permission to create service account on Compute Manager
search cancel

Failed to "Create Service Account" due to errors: user do not have permission to create service account on Compute Manager

book

Article ID: 433425

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi

Issue/Introduction

  • Adding a compute manager results in a Registration status displays as Registered with Error.

Error: failed to create service account due to errors user do not have permission to create service account on compute manager.

      Log snippet from /var/log/cm-inventory/cm-inventory.log: com.vmware.vim.binding.cis.license.fault.NotAuthorizedFault: Authorization result: Required privilege 'LicenseService.Administrator' is missing

  • The compute manager registers successfully but vSphere Lifecycle Manager (vLCM) cannot be enabled on NSX clusters.

Environment

VMware NSX

Cause

  • Missing global licenses privileges or permission from the license service administrators group causes this failure.
  • Deletion of an existing service account by an administrator also triggers this error during vLCM API authentication attempts.

Resolution

Solution1:

  1. It is necessary to assign appropriate privileges to the designated account within vCenter to create service account creation failures.
  2. Navigate to the vSphere client menu and select Administration followed by Global permissions.
  3. Verify the user or group possesses a role with global licenses enabled under the privileges section. (Reference Doc: https://techdocs.broadcom.com/us/en/vmware-cis/nsx/vmware-nsx/4-2/common-add-a-compute-manager.html)
  4. Access the single sign-on section and navigate to users and groups.
  5. Add the user or external identity provider group to the local license service administrators group.
  6. Enable the trust field during compute manager configuration to establish trusted communication.

Solution2:

  1. Use the [email protected] user while registering compute manager with NSX manager If the above steps do not remediate your issue please open a Support Request with Broadcom. 

Additional Information

Add a Compute Manager 4.2