azure-functions-host: [In Portal] EventGrid Trigger execution failed with NotImplementedException
Repro steps
- Create new Function App with PowerShell Core stack
- Add new function in portal
- Select
EventGrid Trigger
function template - Confirm
Microsoft.Azure.WebJobs.Extensions.EventGrid
installing dialog - Select created function and click
Run
button
Error log
2020-01-07T16:59:11 Welcome, you are now connected to log-streaming service. The default timeout is 2 hours. Change the timeout with the App Setting SCM_LOGSTREAM_TIMEOUT (in seconds).
2020-01-07T16:59:20.395 [Information] Executing 'Functions.EventGridTrigger1' (Reason='This function was programmatically called via the host APIs.', Id=5fb87d7b-9fa5-4ab2-a2ec-cb7f24c6621e)
2020-01-07T16:59:20.515 [Error] Executed 'Functions.EventGridTrigger1' (Failed, Id=5fb87d7b-9fa5-4ab2-a2ec-cb7f24c6621e)
The method or operation is not implemented.
Addtional information
- Runtime version: 2.0.12888.0 (~2)
- Platform: Windows
- ASP Tier: Consumption
- Region: West US 2
Workaround
Downgrade Microsoft.Azure.WebJobs.Extensions.EventGrid
version 2.1.0
to 2.0.0
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 7
- Comments: 26 (4 by maintainers)
Hey,
In-portal, the Powershell and .NET function has the same issue. Moreover, the runtime version ~4 does not support ExtensionBundle <=2.0.0 anymore. Runtime version ~3 does support the ExtensionBundle <=2.0.0 version, but doesn’t work. Selecting runtime version ~2 does not fix the issue either.
No combination of runtime version (~2.0, ~2, ~3, ~4) and ExtensionBundle version [1., 2.0.0), [2., 3.0.0), [3.*, 4.0.0) worked for me.
It is easy to reproduce with the default setup of Azure Function with Event Grid trigger, could someone please look into this?