title: azure function queueTrigger error - Microsoft Azure WebJobs SDK '[Hidden Credential]' connection string is missing or empty
body: <p>I have created new <code>Azure Function</code> for <code>QueueTrigger</code> but after running it locally getting some weird error below.</p>
  
  <p>Function1.cs</p>
  
  <pre><code>public static class Function1
      {
          [FunctionName("Function1")]
          public static void Run([QueueTrigger("demoqueue", Connection = "DefaultEndpointsProtocol=myconnectionstring")]string myQueueItem, TraceWriter log)
          {
              log.Info($"C# Queue trigger function processed: {myQueueItem}");
          }
      }
  </code></pre>
  
  <p>local.setting.json</p>
  
  <pre><code>{
      "IsEncrypted": false,
      "Values": {
          "AzureWebJobsStorage": "UseDevelopmentStorage=true",
          "AzureWebJobsDashboard": "UseDevelopmentStorage=true"
      }
  }
  </code></pre>
  
  <p>Error - </p>
  
  <blockquote>
    <p>[11/14/2018 4:36:15 PM] The following 1 functions are in error:
    [11/14/2018 4:36:15 PM] Run: Microsoft.Azure.WebJobs.Host: Error
    indexing method 'Function1.Run'. Microsoft.Azure.WebJobs.Host:
    Microsoft Azure WebJobs SDK '[Hidden Credential]' connection string is
    missing or empty. The Microsoft Azure Storage account connection
    string can be set in the following ways: [11/14/2018 4:36:15 PM] 1.
    Set the connection string named '[Hidden Credential]' in the
    connectionStrings section of the .config file in the following format
    , or [11/14/2018 4:36:15 PM] 2. Set the environment variable named
    '[Hidden Credential]', or [11/14/2018 4:36:15 PM] 3. Set corresponding
    property of JobHostConfiguration.</p>
  </blockquote>