Using Azure function 3.0 (dotnet) on an eventgrid trigger on Blob Storage (Data Lake Gen2). For some reason I am not getting the metadata associated with the blob in the "inputBlob" (of type CloudBlockBlob). Any idea why the metadata is not getting populated ? (I can see that the metadata for the blob in the Azure portal)
[FunctionName("Processor")]
public static async Task RunAsync([EventGridTrigger]EventGridEvent eventGridEvent,
[Blob("{data.url}", FileAccess.Read, Connection = "StorageConnectionString")] CloudBlockBlob inputBlob,
ILogger log)
{
if (inputBlob != null)
{
int metaCount = inputBlob.Metadata.Count; // its zero