Share via

Support for Custom Handlers (Golang) with Azure Functions Flex Consumption Tier

Guy Dillen 116 Reputation points
2025-11-08T12:47:57.05+00:00

I have a general question:

Does Azure Functions Flex Consumption Tier has support for Custom Handlers and in my case for Golang! In fact similar as before in the Consumption Tier.

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


Answer accepted by question author

Thiago Almeida 96 Reputation points Microsoft Employee
2025-11-21T18:39:58.3666667+00:00

Hi everyone - Thiago from the Azure Functions PM team. We have rolled out custom handlers support for Flex Consumption now, please feel free to try it out. The Azure Updates announcement is now out, and we are working on the documentation updates, but the feature can now be used with and Golang via Custom Handlers is possible with Flex.

Was this answer helpful?

1 person found this answer helpful.

Answer accepted by question author

Pravallika KV 15,630 Reputation points Microsoft External Staff Moderator
2025-11-10T01:25:37.22+00:00

Hi @Guy Dillen ,

Thanks for reaching out to Microsoft Q&A.

As per official documentation, Flex Consumption plans don't yet support all Functions language stacks. This table indicates which language stacks are currently supported:

image

Non-native language apps that rely on custom handlers can't currently be migrated to run in a Flex Consumption plan.

Even though the portal allows “Custom” runtime, the Flex host runtime might not yet correctly launch custom handler processes (like your Go binary).

image

I have tested the same by deploying my GO function to Azure flex consumption plan. Though I could successfully deploy the function to Azure, when the Functions runtime starts it fails to start the custom handler executable causing a 500.

Hope it helps!


Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.

User's image

If you have any other questions, let me know in the "comments" and I would be happy to help you.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.