Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature

SAI BABA BOJJA 1 Reputation point
2022-12-15T20:21:01.133+00:00

I have a function app which triggers on an event and is integrated with application insights and storage account. Function app is VNET integrated and the same VNET is added to storage account for whitelisting. But in the log stream of function app, I see the following error:

[Verbose]   Host instance '<instance_id>' failed to acquire host lock lease: Azure.Storage.Blobs: Service request failed.  
Status: 403 (Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.)  
ErrorCode: AuthenticationFailed  
  
Headers:  
Transfer-Encoding: chunked  
Server: Microsoft-HTTPAPI/2.0  
x-ms-request-id: f671f24d-901e-0041-09b7-10c78c000000  
x-ms-error-code: AuthenticationFailed  
Date: Thu, 15 Dec 2022 19:01:23 GMT  

Not sure what is wrong. I have added app settings AzureWebJobsStorage and added latest storage account connection string but still getting same issue.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,530 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,937 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.