Azure / azure-functions-eventgrid-extension

EventGrid extension for Azure Functions
MIT License
48 stars 32 forks source link

FunctionApp Systemkey: eventgrid_extension not created (quickly enough) #73

Closed timlod closed 12 hours ago

timlod commented 5 years ago

Hello,

With the recent ARM API update for Function Apps, I can query the system key necessary for making EventGrid subscriptions programmatically. I've created a deployment procedure that automatically makes and deploys Function Apps and subscribes the functions to EventGrid topics. The procedure does this:

The problem is that in the final step, the system key eventgrid_extension is not created yet - even though I did publish the function app with EventGrid triggered functions. If I run the procedure again, the systemkey will exist the second time around and the subscriptions can be made.

Has anyone experienced this or knows why it happens? Another issue (#70) had the issue because there were no EventGridTrigger functions in the Function App - mine does have several, yet there is no systemkey yet.