azure function activity in adf

Vinodh247 13,801 Reputation points
2022-10-19T07:13:01.567+00:00

I am trying to read the file metadata from external storage SFTP by calling the credentials from secrets. I am receiving the following error can anyone say what should be issue here? az function or the storage credentials of sftp? I have checked the credentials and their SAS tokens they are active and not expired.

Operation on target Get_Metadata Files_ADLS failed: Call to provided Azure function 'Get_File_Details' failed with status-'BadRequest' while invoking 'POST' on 'https://xxxxxxx.azurewebsites.net' and message - 'ERROR in Operation returned an invalid status 'Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.'
ErrorCode:AuthenticationFailed'.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,678 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,196 questions
{count} votes