Nhu Anh Duc Thanks for posting your question in Microsoft Q&A. As you referenced in the link, In-portal editing is supported for Python V1 Consumption plan (I see your function app is in Consumption plan) and not supported for V2 model. When you create a function for the first time in the portal, you will see the option Develop in portal
as shown below:
Then you can make the changes in the portal and validate it. However, if you have made any changes in the function outside the portal or deployed a function from VS code or any other tools (any other deployment), then In-portal editing is not possible after that. In those cases, you will see the warning message in the portal like in the screenshot.
In-portal editing is only supported for new apps created and edited in the portal. I will pass on the feedback (#109498) to doc team to include that note in the link. I hope this helps and let me know if you have any other questions.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.