Symptoms: When assigning license using a vCenter user which has given Admin role, you see these symptoms:
Adding a license in the inventory fails in NSX.
You see the error:
The following serial keys are invalid.
Environment
VMware NSX for vSphere 6.4.x
Resolution
This is a known issue affecting VMware NSX for vSphere 6.4.x.
Currently, there is no resolution.
Workaround: To work around this issue:
Add the user to the vCenter Server “Administrators” group using the vSphere Web Client. Alternatively, assign the vCenter Server “Administrator” role to a user and add user to the vCenter Server “LicenseService.Administrators” group using the vSphere Web Client.
Re-register the NSX Manager with the vCenter Server using the above user.
You must have a vCenter Server user account with the Administrator role to synchronize the NSX Manager with the vCenter Server system. For more information, see the Register vCenter Server with NSX Manager section of the NSX Installation Guide.