Failed to get app principal details - Certificate import from key vault

Frank Hessen 1 Reputation point
2021-09-21T17:41:00.37+00:00

Hi. I'm having issues importing a certificate from the key vault to an App Service. The App service is setup with system assigned identity and has get and list permissions on both secrets and certificates in the keyvault.

134000-bilde.png

134007-bilde.png

134060-bilde.png

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,180 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,325 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,981 Reputation points Microsoft Employee
    2021-09-21T22:58:32.73+00:00

    Hi @Frank Hessen , this looks like a permissions issue. You may need more than just GET and LIST. Did you follow that link in the warning? I would look into Key Vault access policies to make sure you have the required permissions: https://learn.microsoft.com/en-us/azure/key-vault/general/assign-access-policy?tabs=azure-portal

    Please let me know if this works. If not I can assist you further.

    Best,
    James