Skip to content

Fail to deploy self-hosted Python MCP project to Premium/App Service Plan function app with "Secrets" authentication type #5024

Open

Description

@v-ruizh

OS: Win 11 x64
Build Version: 20260513.1

Repro Steps:

  1. Create a new self-hosted MCP server project with Python language.
  2. Create a Premium/App Service Plan Python function app with "Secrets" authentication type.
  3. Deploy the project to the function app.
  4. Check whether succeeds to deploy or not.

Expect:
Succeed to deploy the project.

Actual:
Fail to deploy the project.
Image

More Info:

  1. This issue does not reproduce if deploying the same project to a Premium/App Service Plan Python function app with "Managed identity" authentication type or Flex Consumption function app.
  2. This issue does not reproduce for self-hosted C#/TypeScript MCP project.
  3. No function displays in non-Flex Consumption function app after deployment.

Metadata

Metadata

Labels

AT-CTICreated by CTI teamP2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions