GitHub Action deploy to Function App deployment slot — Key Vault not found issue
Hi everyone,
I'm currently setting up a GitHub Action to deploy to a Function App deployment slot instead of directly to the production slot. The idea is to warm up the Function App before swapping it into production.
However, I'm running into an issue with environment variables that are pulled from an Azure Key Vault. The deployment reports that the Key Vault cannot be found within the subscription, even though the name and ID are an exact match (I copied them directly and verified with ctrl + f).
Because of this, I suspect the Function App isn’t picking up the configuration correctly, which might explain why no functions are showing up in the overview page after deployment.
What’s strange is that deploying via the same GitHub Action directly to the production slot works perfectly fine.
Has anyone encountered something similar or have an idea of what might be causing this? Any tips or things I should check would be greatly appreciated.
Thanks in advance!