Hi,
a list for key vault-resources on the subscription-scope is responding with 2 values:
- The key vault
- An empty value object
Regarding to this, the AzAPICall is returning the value of the 1. key vault object, however the output is WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> listenOn=Default(Value) value not exists; return empty array.
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> unexpectedError: false
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> apiStatusCode: '200' (OK)
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> listenOn=Default(Value) value not exists; return empty array
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> NextLink/skipToken/NextMarker: none
This is a bit confusing.
You should be able to reproduce it if you have a key vault-resource and using Content-listenOn property:
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> unexpectedError: false
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> apiStatusCode: '200' (OK)
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> listenOn=Content (1)
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> NextLink/skipToken/NextMarker: none
$getKeyVault
value
-----
{@{id=/subscriptions/xxx/resourceGroups/yyy/providers/Microsoft.KeyVault/vaults/zzz; name=asdarw3rawdasd; type=Microsoft.KeyVault/vaults; location=northeuro…
{}
Hi,
a list for
key vault-resources on thesubscription-scope is responding with 2 values:Regarding to this, the AzAPICall is returning the value of the 1. key vault object, however the output is
WARNING: [AzAPICall 1.4.1] DEBUGTASK: getKeyVault -> listenOn=Default(Value) value not exists; return empty array.This is a bit confusing.
You should be able to reproduce it if you have a
key vault-resource and usingContent-listenOn property: