The challenge resource does not match the requested domain #30352
Labels
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
KeyVault
az keyvault
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Similar-Issue
Milestone
Describe the bug
I am using the nightly build (https://aka.ms/InstallAzureCliWindowsEdge) of Azure CLI. I am running on an Azure Stack Hub on-premises environment and constantly getting the following error after running
az keyvault secret set --name $secretName --vault-name $keyVaultName --value $secretValue
oraz keyvault secret list --vault-name $keyVaultName
:The error provides a guidance link for using Key Vault library:
https://devblogs.microsoft.com/azure-sdk/guidance-for-applications-using-the-key-vault-libraries/
It seems the Python SDK that Azure CLI is using needs to be reconfigured with
verify_challenge_resource=False
.@evelyn-ys The
verify_challenge_resource=False
seems to be removed from a recent commit by you:7506f6a#diff-43e8fd41c5f3cf4adf60013c63cf281be32af25ceadfde705d279fa917017dc6L257****
Related command
az keyvault secret set --name $secretName --vault-name $keyVaultName --value $secretValue
az keyvault secret list --vault-name $keyVaultName
...etc
Errors
Issue script & Debug output
Expected behavior
Should not throw an error on Azure Stack Hub on-premises environment with custom domains.
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: