If you published your Azure function from Visual Studio and are seeing the message:
Your app is currently in read-only mode because you have published a generated function.json
Then do the following steps:
From the functions page click Platform Features.
After you go to the platform features page, click on App Service Editor
After that, find your function in the list of functions. In the image below the function name is “IoTUploadProcessingFunction”. Expand the files underneath it and select the function.json file. Delete the line “generatedBy”: “Microsoft.NET.Sdk.Functions-22.214.171.124”.
After that your function should be running. If not go back to the functions screen in Azure and start it.
8 thoughts on “Your app is currently in read-only mode because you have published a generated function.json”
Fixed it for me! Thanks.
Everytime I redeploy, I have to make this same change. Is there no way to permanently make the change on the local file? I can’t seem to find a local file…
As far as I know its generated and its up to the team to fix this.
Any change on this one?
Do i have to do it everytime i upload deploy??
Thank you..it works!!!!!
It is giving me error while trying to remove