[英]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.