Open sbailey476 opened 6 years ago
@ggailey777 Are you able to look into this?
It looks like there seems to be a case sensitivity issue when using Event Grid with VS tooling, as mentioned here. Please verify that the case of the function name in your code matches with the full endpoint URL of the EG subscription in the portal.
I succeeded using the following code: [FunctionName("Function1")] public static void Run([EventGridTrigger]JObject eventGridEvent, [Blob("{data.url}", FileAccess.Read, Connection = "myblobconn")]Stream inputBlob, TraceWriter log)
I succeed using : "Newtonsoft.Json" Version="9.0.1"
after looking through the stack exchange post linked above by @ggailey777 I got it working after changing the "Run" Function name to match what was inside the FunctionNameAttribute. This created a new function inside my FunctionApp, so i had to hook it up again. I also added Access Control Settings on my storage so that my function App could access it. and i added the connection property as described above by @yaprigal
Trying to remake the this example in c# using visual studio but having issues making the azure function trigger be triggered by the event grid and bind to the blob storage.
Current Code:
Generated function.json:
The binding is working for the event grid trigger but not the Blob input.