An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hello Shaun Blackham (Insight Global LLC),
The issue is that certificate import from Key Vault does not use the App Service managed identity.
Azure App Service uses the Microsoft Azure App Service (Microsoft.Azure.WebSites) service principal to read the certificate from Key Vault.
Service principal App ID: abfa0a7c-a6b6-4736-8310-5855508787cd
So even if the managed identity has Key Vault Administrator access, the import can still fail if this service principal does not have permission.
Please assign the Key Vault Certificate User role on the Key Vault to this service principal:
az role assignment create --role "Key Vault Certificate User" --assignee "abfa0a7c-a6b6-4736-8310-5855508787cd" --scope "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.KeyVault/vaults/{key-vault-name}"
After the role is assigned, wait a few minutes and try the import again.
Also verify that the certificate in Key Vault is a valid exportable PFX certificate.
Reference: Install a TLS/SSL Certificate for Your App - Azure App Service | Microsoft Learn