A Cloud Shell credential problem occurred

Boris Petrović 1 Reputation point
2021-07-25T20:51:39.3+00:00

Tried to create keyvault in a cloud shell over azure cli:

az keyvault create -n $keyVaultName -g $rgName -l $location --enable-purge-protection true --enable-soft-delete true

Resulted in following error:

A Cloud Shell credential problem occurred. When you report the issue with the error below, please mention the hostname 'cc-3be0343b-b7dff9dd6-lddsd'
Failed to connect to MSI. Please make sure MSI is configured correctly.
Get Token request returned: <Response [400]>

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,286 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.