[VMC] Adding/Removing AD groups to the CloudAdminGroup via apiexplorer
book
Article ID: 314113
calendar_today
Updated On:
Products
VMware Cloud on AWS
Issue/Introduction
Detail how to add LDAP Groups to the CloudAdminGroup via API Explorer.
Symptoms: This article lists out the steps to modify group membership of the CloudAdminGroup on the Cloud vCenter in VMware Cloud on AWS
Cause
Customer is missing permissions for a specific LDAP User/Group but [email protected] account has the required permissions.
Resolution
Login into https://<Cloud_VC_FQDN>/apiexplorer/ Use the cloudadmin ID to login
Navigate to hvc/management/administrators and click on Show/Hide
Use the GET hvc/management/administrators API to find the current members of the CloudAdminGroup
Click on Execute to run the GET request. The response will be in JSON format.
To add an AD group use the POST hvc/management/administrators?action=add API
In the request_body put the AD group name in the format {“group_name”: ”[email protected]”}. You only need to modify the [email protected] section and leave group_name alone.
Impact/Risks: Customers may be blocked from integrating or performing actions with LDAP User/Groups. This process can only be used to add AD Groups to the CloudAdminGroup, this will not work for adding specific AD Users.