Whenever you deploy via the "Deploy to Function App..." option in the extension pane, the environment variables set in Azure's App Settings tab are not available
However, deploying those functions using the cli command
func azure functionapp publish <FunctionAppName>
does deploy them with the environment variables available