title: How to specify AzureWebJobsStorage in latest azure webjob 3.03
body: <p>I updated my old azure webjob code to package to 3.03 and then it is just not working.</p>
  
  <p>I managed to fix all compile-time errors, but when running locally, it throws this error:</p>
  
  <pre><code>Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexingException
    HResult=0x80131500
    Message=Error indexing method 'MvQueueProcessorV2.ProcessMVRequest'
    Source=Microsoft.Azure.WebJobs.Host
    StackTrace:
     at Microsoft.Azure.WebJobs.Host.RecoverableException.TryRecover(ILogger logger) in C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Exceptions\RecoverableException.cs:line 81
     at FE.Toolkit.MvPaaS.WebJob.Program.&lt;Main&gt;(String[] args)
  
  Inner Exception 1:
  InvalidOperationException: Storage account 'Storage' is not configured.
  </code></pre>
  
  <p>For me, this seems to indicate that it can't find setting <strong>AzureWebJobsStorage</strong>? However, it sleeps nicely in the app.config file. So I assumed that I should put my connection string to appsettings.json, so this is what I did in my appsettings.json:</p>
  
  <pre><code>{
    "ConnectionStrings": {
      "AzureWebJobsDashboard": "xxx",
      "Storage": "yyy"
    }
  }
  </code></pre>
  
  <p>However, it gives me the same error. So how do I set storage for webjob 3.0?</p>
  
  <p>This is my code in program.cs</p>
  
  <pre><code>var builder = new HostBuilder()
                .UseEnvironment("Development")
                .ConfigureWebJobs(b =&gt;
                 {
                   b.AddAzureStorageCoreServices()
                     .AddAzureStorage()
                     .AddTimers()
                     .AddFiles()
                     .AddDashboardLogging();
                     })
                    .ConfigureLogging((context, b) =&gt;
                   {
                     b.SetMinimumLevel(LogLevel.Debug);
                     b.AddConsole();
                    })
                     .ConfigureServices(services =&gt;
                    {
                          services.AddSingleton&lt;INameResolver, ConfigNameResolver&gt;();
                    })
                 .UseConsoleLifetime();
  </code></pre>