Azure Function App

Dharani Moorthy 1 Reputation point
2021-06-11T09:54:22.3+00:00

We are having function app and deploy using azure Devops.Faced 403 error while deploying function app.

After we set below configuration it works like a charm.
WEBSITE_WEBDEPLOY_USE_SCM= false.

Can you please explain what this configuration means?
And why it throws 403 error before?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,882 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,136 Reputation points
    2021-06-14T11:21:23.607+00:00

    @Dharani Moorthy Can you share the full exception trace. Are you observing the same error as mentioned here?
    If you want to disable the SCM endpoint in order for deployments to work for linux web apps in case of web deploy. In order to achieve this the WEBSITE_WEBDEPLOY_USE_SCM app setting should be set to value as false. If you do not add this setting, web deploy will be unable to find the appropriate endpoint for deployment.


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.