VMware vCenter Server 8.0.x
VMware vCenter Server 7.0.x
Occasionally, vCenter upgrades carry over expired license(s) or if a service like vSAN was enabled and then removed sometimes the license stays behind. Then, when you try to remove it from vCenter License Manager it will not allow the action and the Delete/Remove option is greyed out.
Note: Make sure to take a snapshot of the vCSA VM before proceeding with the resolution steps (It is mandatory to take offline snapshots of all nodes if you have multiple vCenter Servers in Enhanced Linked Mode).
Refer Take Snapshots of a Virtual Machine for steps on taking a snapshot.
Once this is completed, proceed to remove the license.
https://<VCSA-IP-or-FQDN>/mob?moid=LicenseAssignmentManager
QueryAssignedLicenses and when the below pop-up menu opens up, select invoke methodentityId for the license that we are trying to remove:
entityId is "domain-c8":
RemoveAssignedLicense. Then, enter the entityID in the value box that we found in the previous step.Invoke Method once and you will see a new message: "Method Invocation Result: void":
QueryAssignedLicenses. Do Not enter any data and click on Invoke Method. Now you will see that license key has been removed:
Related KB: https://knowledge.broadcom.com/external/article?articleNumber=327486