Azure Function应用程序部署无法在Dev中运行.但它可以在本地环境中工作. [英] Azure Function app deployment not working in Dev. but it is working in Local environment.

查看:98
本文介绍了Azure Function应用程序部署无法在Dev中运行.但它可以在本地环境中工作.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Key Vault开发功能应用程序,该功能在本地环境中工作,但是在开发人员中部署功能应用程序后,在开发环境中却无法工作.

I am working on Function app with Key Vault which is working in Local environment, but not working in Development environment after I deploy the function app in Dev.

当我在开发环境中运行功能应用程序时. "500内部服务器错误"

while I run the function app in Dev environment . "500 internal server error"

请在这里帮助解决问题.

Please help here to resolve the issue.

推荐答案

您需要在应用程序的应用程序设置"中存储用于打开密钥库的值.如果它在本地运行,则您配置中的某些设置可能仍设置为本地.

You need to store the values you use to open the key vault in the App settings of your application. If it's working in local then it's likely that some of the settings in your configuration are still set to local.

本文 是有用的总体概览.

This article is a helpful big picture overview.


这篇关于Azure Function应用程序部署无法在Dev中运行.但它可以在本地环境中工作.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆