Forum Discussion

Salam_ELIAS's avatar
Salam_ELIAS
Brass Contributor
Feb 04, 2023

AZURE function Visual studio code does not trigger "Select Storage Account"

I am trying to follow tutorial at Create your first durable function in Azure using C# | Microsoft Learn

It is indicated at step 3

 

When Visual Studio Code prompts you to select a storage account, choose Select storage account. Follow the prompts and provide the following information.....

 

This is not happening and the tutorial does not indicate how to add it manually.

Thanks for your help

  • Robina's avatar
    Robina
    Iron Contributor
    "Select Storage Account" feature in Visual Studio Code for Azure Functions can sometimes not be triggered due to a few reasons such as an outdated Azure Functions extension, incorrect configuration of Azure account, or incorrect workspace settings.

    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.
    • Salam_ELIAS's avatar
      Salam_ELIAS
      Brass Contributor

      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_ELIAS's avatar
        Salam_ELIAS
        Brass 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_ELIAS's avatar
      Salam_ELIAS
      Brass Contributor
      Anyway, can you share the syntax for adding it manually and in which file? Thanks

Resources