"Invalid EntityID" error while updating SRM Appliance License using UpdateAssignedLicense() API
book
Article ID: 405711
calendar_today
Updated On:
Products
VMware vCenter Server
Issue/Introduction
Encountering the "Invalid EntityID" error when attempting to update the SRM Appliance license in vCenter Server using the UpdateAssignedLicense() API.

Environment
VMware vCenter Server 7.x
VMware vCenter Server 8.x
Resolution
This is a known issue where SRM Appliance licenses may not update correctly using standard EntityId fetched from the vCenter Server.
To resolve this, follow the steps below to update the SRM Appliance license using EntityId followed by LDU ID.
- Retrieve the LDU ID from vCenter Server:
SSH into the vCenter Server and run the following command to obtain the LDU ID: /usr/lib/vmware-vmafd/bin/vmafd-cli get-ldu --server-name localhost
- Obtain the Entity ID
Use the QueryAssignedLicense() API to extract the current EntityId associated with SRM.
- Construct the Composite ID
Combine the Entity ID and LDU ID using a hyphen (-) separator in the format: "ENTITY_ID-LDU_ID" (e.g., XXXXXXXXXXXXXXX-XXXXXXXXXXXXXXX)
- Apply the License
Use the composite ID from Step 3 in the updateAssignedLicense() API to update the SRM Appliance License.
Feedback
thumb_up
Yes
thumb_down
No