Skip to content

[AzAPICall 1.4.1] Unknown targetEndpoint: 'xxx.vault.azure.net'; $uri: 'https://xxx.vault.azure.net/keys?api-version=2025-07-01' #57

@kaiaschulz

Description

@kaiaschulz

Hi,
trying to get a specific key or list the keys of my KeyVault (microsoft.keyvault/vaults)

is causing an error:

[AzAPICall 1.4.1] Unknown targetEndpoint: 'xxx.vault.azure.net'; $uri: 'https://xxx.vault.azure.net/keys?api-version=2025-07-01'
!ab981d8f Please report at aka.ms/AzAPICall
WARNING: c62cd8e5-f8e9-4da1-a464-e6067208b915
Exception: /Users/yyy/.local/share/powershell/Modules/AzAPICall/1.4.1/functions/AzAPICallFunctions.ps1:196:21
Line |
 196 |Throw "Error - Unknown targetEndpoint: '$($uriSplitted[2] …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Error - Unknown targetEndpoint: 'xxx.vault.azure.net'; $uri: 'https://xxx.vault.azure.net/keys?api-version=2025-07-01'

For the request I need to address the vaultBaseUrl.
In the value of $($azAPICallConf['azAPIEndpointUrls'].KeyVault) is https://vault.azure.net.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions