Can't deploy Python functions to functionApp no matter what I do

Jason Starkman 10 Reputation points
2023-06-30T04:10:15.8033333+00:00

So I can't create functions within functionApps no matter what I do. I have a basic plan and am trying to create python functions. Right when I create a function app in the portal, before any function code is written, I get the error "This function has been edited through an external editor. Portal editing is disabled" even though that's not true. Online I saw this could be because of my plan so I decided to edit functions locally on VSCode. However, when I try to deploy these functions I get the error "Malformed SCM_RUN_FROM_PACKAGE when uploading built content." I tried adding SCM_RUN_FROM_PACKAGE with a value of 1 to my configuration, but that didn't work and I found out that wasn't a valid setting. I then tried adding WEBSITE_RUN_FROM_PACKAGE with a value of 1 to my configuration and that setting saved, but I got the same error when I tried to deploy. Please help! I can't use my function apps at all.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,336 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.