Forum Discussion

NilsJJ's avatar
NilsJJ
Copper Contributor
Aug 14, 2023
Solved

Azure Functions permissions and costs

Hello guys, I am new to azure functions. There are a few questions that I cannot find answers to in the docs. Costs Do I have to pay when I create a new Azure Function? (Not the app) Do I pay ...
  • Robina's avatar
    Aug 14, 2023
    Creating a new Azure Function itself does not incur costs. However, there are costs associated with the execution and consumption of resources when your function is triggered. Azure Functions pricing is based on the consumption plan, where you pay only for the compute resources used during the execution of your functions. You are billed based on the number of executions, execution time, and memory consumed by your functions.
    Regarding test runs, if you are testing your functions locally using tools like Azure Functions Core Tools or Visual Studio Code, you won't be charged by Azure for those local tests. The consumption costs apply when the functions are executed in the Azure cloud.
    The error message you're encountering when creating a new function in the Azure portal might be related to permissions in your Azure subscription.

Resources