Forum Discussion
NilsJJ
Aug 14, 2023Copper Contributor
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 ...
- Aug 14, 2023Creating 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.
Iain_U_B
Sep 07, 2023Copper Contributor
For the permissions question, did you check if you are running from a package?
You'll see this under Code+Test
"Your app is currently in read only mode because you are running from a package file. To make any changes update the content in your zip file and WEBSITE_RUN_FROM_PACKAGE app setting."