Forum Discussion
AZURE function Visual studio code does not trigger "Select Storage Account"
To resolve this issue, try the following steps:
Update Azure Functions extension to the latest version.
Ensure you have logged in to the correct Azure account in Visual Studio Code.
Check the workspace settings to make sure that the Azure Functions extension is enabled for the workspace.
Yes, Robina, I have setuop Azure Functions just before starting the tutorial last week so I presume it is the most recent version.
Yes, I am logged with my full admin user as you can notice in the snapshot as storage is coinnected and I can see my storage accounts.
Regarding settings, I think that tehy are correct they are as follows
- Salam_ELIASFeb 05, 2023Brass Contributor
Robina, I hit F5, and I was prompted to choose a storage account, the project started toi build but I got the following error
- Salam_ELIASFeb 05, 2023Brass Contributor
Finally Robina, I was able to run the function and do a get in postman, however, when I try to browse or do a get in Postman for "statusQueryGetUri" nothing happen and response, I waitd for more than 15 minutes and nothing gets dispalyed as indicated
You must get an eventual response, which shows us that the instance has completed and includes the outputs or results of the durable function- RobinaFeb 05, 2023MCTGood to hear your issue resolve
- RobinaFeb 05, 2023MCTCheck out this article https://learn.microsoft.com/en-us/azure/azure-functions/functions-add-output-binding-storage-queue-vs-code?tabs=in-process&pivots=programming-language-csharp
- RobinaFeb 05, 2023MCTA class containing the new functions is added to the project. Visual Studio Code also adds the storage account connection string to local.settings.json and a reference to the Microsoft.Azure.WebJobs.Extensions.DurableTask NuGet package to the .csproj project file.