Associate an existing tenant with
VMware Aria Automation
VMware Aria Automation
If you have created a tenant in
VMware Workspace ONE Access
, you can associate it
with VMware Aria Automation
so that the tenant can
use the VMware Aria Automation
product
services.- Verify that all general prerequisites have been satisfied. See Tenant management usingVMware Aria Suite Lifecycle APIs.
- Verify that you have the name of the existing tenant. See Add a tenant.
- Verify that you have the following input values required to associate an existing tenant withVMware Aria Automation:
- The name of the existing tenant. See Add a tenant.
- vidmCludDtoDetails for the tenant administrator.
Optional input values include:- migratePreludeOAuthClientsDefaults to true. If set to false, existing active directories are not migrated when the tenant is created. For example, set this value to false if you want to associate the tenant with aVMware Aria Suiteproduct later.
- vidmDclDtoThis data transfer object captures directory information such as names and passwords for AD inVMware Workspace ONE Access. Provide this information if you want to add directories in the primary tenant to the tenant that you are creating.
This procedure shows how to associate
an existing tenant with
VMware Aria Automation
.
Before creating the association, you first obtain the ID of the environment in VMware Aria Automation
where the tenant will be
assigned.- List the environments for all installed products.curl -X GET \ '$url/lcm/lcops/api/v2/environments' \ -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \ -H 'Content-Type: application/json' \ }' | jq "."
- Examine the response to locate the environment ID that includes theVMware Aria Automationproduct where you want to associate the tenant.... { "environmentId": "vRSSmallImportEnvironment1595601218016", "environmentName": "vRS Small Import Environment", ... }, "products": [ { "id": "vra", "version": "8.0.1", "patchHistory": null, "snapshotHistory": null, "logHistory": null, "clusterVIP": null, ...
- Associate an existing tenant namednew_TenantwithVMware Aria Automation.curl -X PUT \ '$url/lcm/authzn/api/v2/idp/tenants/associate/new_Tenant' \ -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \ -H 'Content-Type: application/json' \ -d '{ "migratePreludeOAuthClients": true, "productsToAssociateWith": [ { "environmentId": "vRSSmallImportEnvironment1595601218016", "productId": "vra" } ], "vidmCludDto": { "email": "<tenant_admin_email>", "familyName": "<tenant_admin_family_name>", "givenName": "<tenant_admin_given_name>", "password": "<tenant_admin_password>", "userName": "<tenant_admin_username>" }, "vidmDclDto": { "adOverLdapDirectories": [ { "directoryBindPassword": "<AD_password>", "directoryName": "<AD_name>" } ], "adWithIwaDirectories": [ { "directoryBindPassword": "<AD_bind_password>", "directoryName": "<AD_name>", "domainAdminPassword": "<AD_admin_password>" } ] } }' | jq "."A snippet of the response provides a request ID that you can use to check the status of the request.{ "requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55" }
- Assign the variable for therequestId.requestId = "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
- Use therequestIDto track your request.curl -X GET '$url/lcm/authzn/api/v2/idp/tenants/requests/$requestId' -H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' | jq "."After the request succeeds, the existing tenant is associated withVMware Aria Automationand can use the services that the product provides.