Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,951 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I have upgrade Azure function from .Net6 to .Net 8 isolated and could not able to read QueueName and connection from app settings.
below is my code
[Function("Function1")]
public async Task Run([QueueTrigger("%FuncAppSettings:QueueName%", Connection = "FuncAppSettings:StorageConnection")] string queueItem)
{
try
{
}
```}
App settings:
"FuncAppSettings": {
"QueueName": "myqueue",
"StorageConnection": "***"
},
It was working before(.Net6) after upgrading to .net 8(Isolated) its not working.
Please find the below error details:
**Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.Function1'. Microsoft.Azure.WebJobs.Host: '%FuncAppSettings:QueueName%' does not resolve to a value.**
**Error indexing method 'Functions.Function1'**
**Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.Function1'. Microsoft.Azure.WebJobs.Host: '%FuncAppSettings:QueueName%' does not resolve to a value.**
could you please help me to resolve this issue,