I'm using a Blob trigger Azure function to get Blob files data whenever any file is uploaded to the Container.
public static void Run(Stream myBlob,string BlobTrigger,System.Uri uri, string name, ILogger log)
{
log.LogInformation($"C# Blob trigger function Processed blob\n Name:{name} \n Size: {myBlob.Length} Bytes + URL: {uri}");
}
Using the above method, I'm able to get the URL of the Item uploaded. Currently, the above code is generated using Develop in Portal option provided by Azure.
Is there a way I can get SAS URL of the Blob file that has been uploaded ?
After reproducing from our end. Here is how I could able to achieve when blob is uploaded each time.
RESULT :
In storage account
REFERENCES: Generate SAS token c# programmatically