@Abitamim Bharmal Thanks for your time over offline conversation. I have summarized our discussion and posting the same as answer for the benefit of other community members.
Issue:
Customer is trying to create functions in their function app which in consumption sku with python as runtime. Post creating the function when they try to test/edit the function from the portal is failing with error retriving the function keys.
Troubleshooting & Mitigation Steps taken:
- Customer tried to add the custom libraries like pandas etc., which resulted in runtime errors.
- To fix the runtime error, they had deployed the http trigger function from local vscode to function app. Post the deployment the runtime is up and they are able to trigger or work with functions.
- Also, as called out in the documentation portal editing of function is supported in Linux consumption but adding the customer packages to the functions has to be done from local development only as shown below.
For more information adding/mannually installing extensions in the function refer to this doc : https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=azure-portal%2Cto-premium#manually-install-extensions
Hope this helps, let me know if you have any further questions on this.
Please accept as Yes if the answer is helpful so that it can help others in the community.