I have the following issue:
Steps (Azure portal):
Issue: Portal asks me to grant Get/List to APIM instance. Why ? UAI should have that already! If I click yes on the dialog that asks if I want to grant that policy an error occurs.
SystemAssigned Identity works by the way.
Did I miss something here ?
2025 Update:
Since last time this functionality has been rolled out a while ago in Azure Portal, see for reference: https://learn.microsoft.com/en-us/azure/api-management/configure-custom-domain?tabs=key-vault#set-a-custom-domain-name---portal Setting up custom hostname with certificate coming from Key Vault is beneficial since Portal will take care of setting up necessary permissions (https://learn.microsoft.com/en-us/answers/questions/1536911/azure-key-vault-rbac-permissions-required-for-apim)
Previous answer:
UI does not support that at the moment, but it is possible through API, see "identityClientId" and "keyVaultId" here: https://learn.microsoft.com/en-us/rest/api/apimanagement/2021-01-01-preview/api-management-service/create-or-update#hostnameconfiguration