azure-functions-eventgrid-extension icon indicating copy to clipboard operation
azure-functions-eventgrid-extension copied to clipboard

FunctionApp Systemkey: eventgrid_extension not created (quickly enough)

Open timlod opened this issue 5 years ago • 0 comments

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:

  • Create Function App resource
  • Make local function app with azure-functions-core-tools
  • Publish local function app with EventGridTrigger functions to Azure resource
  • Obtain system key and subscribe Functions

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.

timlod avatar Jul 05 '19 07:07 timlod