Is there additional cost for turning always_on for Azure Function?

dotnet_guy 15 Reputation points
2025-03-12T15:48:44.9433333+00:00

We already have a premium app service plan in our enterprise. So, would there be additional costs for enabling always_on in Azure function? If so, would creating a timer trigger function (in PowerShell I think?) to disable always_on during off peak hours a better approach?

If the new timer trigger costs more than always_on, then leaving always_on enabled is the best way forward.

Thoughts?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,932 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ranashekar Guda 2,825 Reputation points Microsoft External Staff Moderator
    2025-03-13T15:12:53.9133333+00:00

    Hi @dotnet_guy,

    Enabling the "Always On" setting for your Azure Function app running on a Premium App Service plan does not incur additional costs beyond what you are already paying for the Premium plan itself. You are billed for the plan regardless of whether the "Always On" setting is enabled or not.Using a timer trigger function to disable "Always On" during off-peak hours may not necessarily save costs, as the Premium plan has a minimum monthly cost per active plan, regardless of whether the function is active or idle.

    For further clarification, please refer to the following documentations:

    I hope this helps resolve your issue. Feel free to reach out if you have further concerns.


Your answer

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