Create an azure functionv1 (.Net Framework) with the Http project,add a new blob trigger azure function, F5 with error"Microsoft.Azure.WebJobs.Host: Error indexing method 'Function2.Run'. Microsoft.Azure.WebJobs.Host: Invalid storage account"
File > New Project >Azure Functions >Azure Functions v1 (.Net Framework) with the Http trigger template (Access rights set to "Function") + Browse storage account Right click project -> Add New Item-> New Azure Function> Blob trigger set the connection to "AzureWebJobsStorage". F5, met some error. Note: If I don't add blob function, I won't meet this error.
ACTUAL

[4/25/2019 9:56:52 AM] A ScriptHost error has occurred [4/25/2019 9:56:52 AM] Microsoft.Azure.WebJobs.Host: Error indexing method 'Function2.Run'. Microsoft.Azure.WebJobs.Host: Invalid storage account 'gk25'. Please make sure your credentials are correct. Microsoft.WindowsAzure.Storage: The remote server returned an error: (403) Forbidden. [4/25/2019 9:56:52 AM] Error indexing method 'Function2.Run' [4/25/2019 9:56:52 AM] Microsoft.Azure.WebJobs.Host: Error indexing method 'Function2.Run'. Microsoft.Azure.WebJobs.Host: Invalid storage account 'gk25'. Please make sure your credentials are correct. Microsoft.WindowsAzure.Storage: The remote server returned an error: (403) Forbidden. [4/25/2019 9:56:52 AM] Function 'Function2.Run' failed indexing and will be disabled. [4/25/2019 9:56:52 AM] Found the following functions: [4/25/2019 9:56:52 AM] FunctionApp2.Function1.Run [4/25/2019 9:56:52 AM] [4/25/2019 9:56:52 AM] Host initialized (2936ms) [4/25/2019 9:56:52 AM] Host started (2954ms) [4/25/2019 9:56:52 AM] Job host started [4/25/2019 9:56:52 AM] The following 1 functions are in error: [4/25/2019 9:56:52 AM] Run: Microsoft.Azure.WebJobs.Host: Error indexing method 'Function2.Run'. Microsoft.Azure.WebJobs.Host: Invalid storage account 'gk25'. Please make sure your credentials are correct. Microsoft.WindowsAzure.Storage: The remote server returned an error: (403) Forbidden.
Unable to repro this. Can you repro with different storage accounts as well? Looks like an issue with the account/storage connection string.
@fabiocav - I worked with Vijay on this, and checked the connection string in "local.settings.json" and it had missing "AccountKey" value, and after updating the value for the this key, their function started working as expected, so this is not the azure function issue. It seems the issue with the tooling and Vijay will be following further with the tooling team.