简体   繁体   中英

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:

在此处输入图像描述

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.

I found the Similar SO issue where many users faced this issue # 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 .

在此处输入图像描述

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. Visit this MS Q&A # 669276 for more information.

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. If you are facing this issue frequently, mail to azcommunity@microsoft.com .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM