PUT /lcm/api/v2/settings/ad/edit/adoveriwa edits an AD with Integrated Windows Authentication (IWA) to vRealize Suite Lifecycle Manager.

Prerequisites

Satisfy the following conditions before performing any tasks for this use case.
  • Use POST /lcm/api/v2/login to log in to vRealize Suite Lifecycle Manager.
  • Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.
  • Verify that VMware Identity Manager 3.2.0 or later is installed and configured in vRealize Suite Lifecycle Manager. See Add VMware Identity Manager
  • Verify that the AD that you want to edit has been added in vRealize Suite Lifecycle Manager.

curl Command

The following example edits an AD with IWA to vRealize Suite Lifecycle Manager.
curl -X PUT "https://LCM-HOSTNAME/lcm/api/v2/settings/ad/edit/adoveriwa" 
   -H "accept: application/json" 
   -H "content-type: application/json" 
   -H "x-xenon-auth-token: $token" 
   -d '{ "iwaDirectory": 
         { "adName": "test",
           "joinDomain": "abc.local",
           "joinDomainAdmin": "abc.admin",
           "joinDomainAdminPassword": "vmware",
           "bindUser": "abc.admin@lcm.local",
           "bindPassword": "vmware",
           "domains": ["abc.local","qe.abc.local"],
           "userDN": 
             [ "CN=user1,OU=Corp,DC=abc,DC=local",
               "CN=user2,OU=Corp,DC=abc,DC=local"],
           "groupDN": 
             [ "CN=TestGroup1,OU=Corp,DC=abc,DC=local",
               "DC=random,DC=value1",
               "DC=random,DC=value2"],
    "syncNestedGroupMembers": false,
    "uberAdmin": ["lcm.user1@abc.local","lcm.user2@abc.local"]}
       }'

JSON Output

The following JSON output is returned when the operation completes successfully.
200 Operation successful