Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Functions - synchronization of trigger functions is not working

In this issue:

Azure Functions - Event Hub not triggering Functions

I described a problem with syncing event hub triggers and I managed to find a solution by simply invoking 'syncfunctiontriggers' action with Azure CLI:

az resource invoke-action --resource-group <resourceGrouName> --action syncfunctiontriggers --name <functionAppName> --resource-type Microsoft.Web/sites

Unfortunately this stopped working since 5th June and triggers are not fired on with messages getting into event hub - even if I call this command above. I need to go to portal and open function apps to sync them again but for me it is not a feasible solution.

I need to have an automated way of creating whole resource group, containing event hub, function apps, storages. At best with the use of Azure CLI.

Has anybody found a workaround for it or is this problem known already to Azure's team?

like image 253
tommy vercetti Avatar asked Nov 22 '25 00:11

tommy vercetti


1 Answers

In the meantime I have found a workaround that is not entering the azure's portal. Simply make a call to trigger's function app page, e.g.:

curl -s https://<function-app-name>.azurewebsites.net > /dev/null

And after that if I run E2E tests, event hub triggers start to work. However, as with previous workarounds that I'd used, I don't how long it might be valid.

like image 179
tommy vercetti Avatar answered Nov 24 '25 21:11

tommy vercetti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!