vRA 7
Using the PUT REST call detailed here to update a Business Group: vRealize Automation 7.0
/api/tenants/{tenantId}/subtenants/{id}
I send Body text as detailed for a subtenant here, example below: vRealize Automation 7.0
{
"id": "f8e0d99e-c567-4031-99cb-d8410c841ed7",
"name": "BusinessGroup01",
"description": "Business Group 01",
"subtenantRoles": [ {
"name": "Business Group Manager",
"scopeRoleRef" : "CSP_SUBTENANT_MANAGER",
"principalId": [
{
"domain": "vrademo.local",
"name": "tenantadmin01"
},
{
"domain": "vrademo.local",
"name": "tenantmanager01"
}
]
},
{
"name": "Basic User",
"scopeRoleRef": "CSP_CONSUMER",
"principalId": [
{
"domain": "vrademo.local",
"name": "tenantusers01"
}
]
} ,
{
"name": "Support User",
"scopeRoleRef": "CSP_SUPPORT",
"principalId": [
{
"domain": "vrademo.local",
"name": "tenantsupportusers01"
}
]
} ],
"extensionData": {
"entries": [
{
"key": "iaas-machine-prefix",
"value": {
"type": "string",
"value": "87e99513-cbea-4589-8678-c84c5907bdf2"
}
},
{
"key": "iaas-manager-emails",
"value": {
"type": "string",
"value": "busgroupmgr01@vrademo.local"
}
}
]
},
"tenant": "Tenant01"
}
All items detailed in the JSON are updated successfully, except for anything in subtenantRoles which seems to be ignored. So neither Business Group Manager, nor Support Users, nor Users are updated.
If I send the same Body text (minus ID) to:
POST /api/tenants/{tenantId}/subtenants
then a Business Group is successfully created, including the subtenantRoles.
Anyone else experience this?