Azure Container Queue Function APP Connection String Error

153 Views Asked by At

I have created a azure container with a function app with a queue trigger. I have also configured a scaling rule with connection string enter image description here

This connection string is defined in secrets as a base64 string of an actual connection string.

enter image description here

But I am getting following error in the system log of the revision.

"can't parse storage connection string. Missing key or name"

Any help how can I fix this issue?

1

There are 1 best solutions below

0
Pravallika KV On

There seems to be an issue with your connection string.

  1. Check if the connection string format is correct and complete with all the required parameters such as the account name, account key, and endpoint suffix.
  • It should be in the below format:
DefaultEndpointsProtocol=https;AccountName=<account-name>;AccountKey=<account-key>;EndpointSuffix=<endpoint-suffix>
  1. Connection string might not be accessible to function app. Set the connection string as an application setting in Function app=>Application settings=>configuration.

enter image description here

  1. Also, try using AzureWebJobsStorage app setting in your function with valid storage account connection string as its value.

  2. Check if you have all the required permissions to process the request.