diff --git a/sdk/keyvault/test-resources.json b/sdk/keyvault/test-resources.json index f80618147a4ce..cd4f8eb5eb4fb 100644 --- a/sdk/keyvault/test-resources.json +++ b/sdk/keyvault/test-resources.json @@ -18,11 +18,16 @@ }, "testApplicationOid": { "type": "string", - "defaultValue": "b3653439-8136-4cd5-aac3-2a9460871ca6", "metadata": { "description": "The client OID to grant access to test resources." } }, + "provisionerApplicationOid": { + "type": "string", + "metadata": { + "description": "The provisioner OID to grant access to test resources." + } + }, "location": { "type": "string", "defaultValue": "[resourceGroup().location]", @@ -183,9 +188,7 @@ }, "properties": { "tenantId": "[parameters('tenantId')]", - "initialAdminObjectIds": [ - "[parameters('testApplicationOid')]" - ], + "initialAdminObjectIds": "[union(array(parameters('testApplicationOid')), array(parameters('provisionerApplicationOid')))]", "enablePurgeProtection": false, "enableSoftDelete": true, "softDeleteRetentionInDays": 7,