Search code examples
azureazure-http-trigger

How to edit httptrigger function.json file for the project uploaded by VSCode


I use vscode extension Azure Functions to create htmltrigger project on my local.

and I want to edit htmltrigger authLevel to anonymous, but I searched my local vscode folder for function.json and not found it

and azure portal show 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., it can not edit function.json


Solution

  • Usually, the function.json file is generated after VS build. Check whether it's in a folder named after your function, under ~\bin....... folder.