简体   繁体   English

无法使用 Visual Studio 发布 Azure Function:禁用创建按钮

[英]Publishing Azure Function using Visual Studio not possible: Create button disabled

I want to publish an Azure Function Project using the Visual Studio 2022 publish option, but the Create button is always disabled without any visible reason for it:我想使用 Visual Studio 2022 发布选项发布一个 Azure Function 项目,但Create按钮总是被禁用,没有任何明显的原因:

在此处输入图像描述

How can I further research on this, get any error message or so?我怎样才能进一步研究这个,得到任何错误信息?

在此处输入图像描述

Multiple times, Even I too faced the similar issue and haven't found any permanent solution to it where I'm having the latest Version of Azure Functions Core Tools ( 4.0.4915 ), VS 2022 17.4.4 Version, .NET 6 SDK & Runtime installed.多次,即使我也遇到了类似的问题,但我没有找到任何永久解决方案,我拥有最新版本的 Azure Functions Core Tools ( 4.0.4915 ),VS 2022 17.4.4 版本,.NET 6 SDK &运行时已安装。

I found the Similar SO issue where many users faced this issue # 67813149 .我发现许多用户遇到此问题的类似 SO 问题# 67813149

I also found one of the causes of above issue - ie, If we do not have access to the Azure Subscription, then I observed this Create button is greyed or disabled in the Visual Studio Azure Functions Project > Publish > Create New Function App Window .我还发现了上述问题的原因之一 - 即,如果我们无法访问 Azure 订阅,那么我观察到此创建按钮在Visual Studio Azure 函数项目 >发布>创建新的 Function 应用程序 Window中呈灰色禁用

在此处输入图像描述

Also, Please check you have right RBAC Access to manage the resources in the Subscription such as Contributor role for the Azure Function App Management.此外,请检查您是否有权利 RBAC 访问权限来管理订阅中的资源,例如 Azure Function 应用程序管理的贡献者角色。 Visit this MS Q&A # 669276 for more information.有关详细信息,请访问此 MS Q&A # 669276

After Sign-out and Sign-in in Visual Studio, System Restart, I got this fixed and working good as of now, but this should not be the fix.在 Visual Studio 中注销和登录后,系统重启,我得到了这个修复并且现在工作正常,但这不应该是修复。 If you are facing this issue frequently, mail to azcommunity@microsoft.com .如果您经常遇到此问题,请发送邮件至azcommunity@microsoft.com

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2022 Create Azure TimeTrigger function 导致没有文件的空解决方案 - Visual Studio 2022 Create Azure TimeTrigger function results in empty solution with no files 从 Visual Studio 2022 调试 Azure Function 应用程序 - Debug Azure Function App from Visual Studio 2022 是否可以在 azure function 应用程序中创建主题订阅? - Is it possible to create a topic subscription in an azure function app? 使用 Visual Studio 时看不到 Azure 数据库表 - Cannot see Azure DB tables when using Visual Studio 了解Visual Studio中Azure function blob模板的步骤 - Understanding steps of the Azure function blob template in Visual Studio Azure function 在 visual Studio 本地运行时可以访问 Key Vault 但在门户上运行时不能 - Azure function can access Key Vault when run locally in visual Studio but not when run on the portal 是否可以使用 PowerShell 脚本创建 Azure Databricks 集群? - Is it possible to create Azure Databricks Cluster using PowerShell script? 是否可以为 Azure Function 部署槽创建 Azure 存储事件网格订阅? - Is it possible to create an Azure Storage Event Grid Subscription to an Azure Function deployment slot? 是否可以使用 Azure Function 应用程序通过额外声明丰富 Azure AD B2C 令牌? - Is enriching an Azure AD B2C Token with extra claims using an Azure Function app possible? 为什么创建实验按钮在 firebase 中被禁用? - Why create Experiment button is disabled in firebase?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM