启用 MSI 时无法更新 Azure 功能上的应用程序设置

Failing to update App Settings on Azure Function When MSI is Enabled

我有一个启用了托管服务身份的功能。当我尝试通过 Azure 门户更新应用程序设置时,出现以下错误。

无法更新网络应用程序设置:["{\"error\":{\"code\":\"CannotRemoveResourceIdentity\",\"message\":\ "Resource identity of type 'SystemAssigned' already exists on resource and can not be removed.\"}}"]

我试过禁用 MSI 然后更改应用程序设置,但由于同样的错误无法更新。

这是 MSI 和 Azure Functions 的已知问题吗?

这是一个已知问题,正在处理/部署修复程序。当我了解更多关于状态的信息时,我会更新这个 post。

-- 更新--

这个 GitHub 问题正在跟踪这个问题,同时有一个解决方法 here

或者,作为变通方法,您可以转到 https://resources.azure.com

您也可以在 Platform features -> Resource Explorer 的函数中找到它。

找到您的功能,然后转到配置 -> 应用程序设置。您应该可以从这里更新它们。

我通过这种方式解决了在 Web 应用程序上更新 SSL 证书的问题。