Search the VMware Knowledge Base (KB)
View by Article ID

Error "This endpoint is being used by # compute resources and # storage paths and cannot be deleted" when you attempt to delete an endpoint in vRA 7.x (2150548)

  • 3 Ratings


  • After collecting data against an endpoint in vRealize Automation (formerly known as vCloud Automation Center), you are unable to delete the endpoint regardless of any assigned compute resources.
  • When you attempt to delete the endpoint, you see an error similar to:

    You cannot delete this endpoint because 2 compute resources and 0 storage paths use it


This issue occurs when compute resources have been collected against an endpoint preventing you from deleting it.


This is a known issue affecting vRealize Automation 7.x.
Currently, there is no resolution.

As a workaround, remove an endpoint from VMware vRealize Automation 7.x versions, you should use the Cloud Client tool:
To remove the endpoint:
  1. Download and install the appropriate version of CloudClient tool based on your vRA version.

  2. Delete the hosts and compute resources that are not associated with any active Fabric groups or reservations. 

    Note: This procedure will not remove any resources from vRealize Automation that are actively in use.
  1. Ensure that there are no managed VMs on the endpoint that is to be deleted.
  2. Delete all reservations for the endpoint that needs to be deleted.
  3. Log in to cloud client:

    CloudClient>vra login userpass --server <enter server name e.g., vra.corp.local> --tenant <enter tenant name> --user <enter username> --password <enter password> --promptForIaasCreds yes

  4. Enter IaaS credentials.
  5. List the inactive Compute Resources by running the command:

    CloudClient>vra computeresource inactive list

  6. Confirm that the compute resources that are listed are no longer in use as these will be removed from vRA.
  7. Stop all vSphere agent services even for endpoints that are being used.
  8. Remove the inactive Compute Resources by running the command:

    CloudClient>vra computeresource inactive remove

  9. The endpoint can now be removed in the UI or through the Cloud Client by running the command:

    CloudClient>vra endpoint remove --id <enter endpoint name>

  10. Restart the vSphere agents. The vSphere agents associated with the endpoints that have been removed can remain or be uninstalled.


This procedure modifies the IaaS SQL database. Ensure to take back up of your database prior to making any changes.

Additional Information

For instructions on removing an endpoint in vRA 6.x, see KB2105809

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 3 Ratings