Skip to content

Debug fails because SharePoint Online Connector Triggers template generates invalid azure-functions dependency #5135

Description

@v-ruizh

OS: Win 11 x64
Build Version: 20260708.2

Repro Steps:

  1. Open Template Gallery.
  2. Create a project using SharePoint Online Connector Triggers (Python + AZD + Bicep) template.
  3. Open the generated project.
  4. Initial the project.
  5. Debug the project.

Expect:
Debug should complete the dependency installation successfully and start the Function app.

Actual:
Debug fails because the generated requirements.txt references azure-functions>=2.2.0b4, which cannot be found on PyPI.
Image

More Info:

  1. This is the generated requirements.txt in project.
    Image
  2. The similar issue still reproduces for Simple Agent QuickStart (Python + AZD + Bicep) project (azure-functions>=2.2.0 in the generated requirements.txt).
  3. Update the requirements.txt to azure-functions, still fail to debug the project.
    Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    AT-CTICreated by CTI team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions