@RS Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you are facing an issue with your Azure Functions, where the function is in read-only mode, and you are unable to test it in Azure Portal.
The error message suggests that the app is currently running from a package file, and you need to update the contents of the Zip file and the WEBSITE_RUN_FROM_PACKAGE app setting to make changes.
To resolve this issue, you can follow the below steps:
- Open the Azure portal and navigate to the Function App that is experiencing the issue.
- In the Function App, go to the Configuration settings and locate the WEBSITE_RUN_FROM_PACKAGE app setting.
- Change the value of the WEBSITE_RUN_FROM_PACKAGE app setting to 0
- Save the changes and restart the Function App.
- Test the Function App to ensure that it is no longer in read-only mode.
By changing the value of the WEBSITE_RUN_FROM_PACKAGE app setting to 0, the Function App will no longer run from the package file, and the you should be able to make changes to the app.
Here is the reference to the Azure documentation that explains how to configure app settings for Azure Functions:
I hope this helps! Let me know if you have any further questions.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.