When attempting to run the Add vRA Host workflow in VMware Aria Automation Orchestrator to add a host object, the workflow fails during execution. You may observe this issue even if the credentials provided are valid and have the necessary administrative roles.
The following error is displayed in the workflow logs: Failed to get VMware Cloud Foundation Automation refresh token. Invalid VMware Cloud Foundation Automation credentials provided.
This issue occurs if the Host URL provided during the workflow input contains a trailing forward slash (/) at the end of the hostname or FQDN.
To resolve this issue, run the workflow again ensuring the URL format is correct:
https://vcloud-automation-01.example.comFor more details on host management, refer to the Broadcom Tech Docs: Add a VCF Automation host