Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Failed to start api: Login failed for user '<token-identified principal>' #15

Description

@Menghua1

Describe the issue:
The task start api failed to start. Executing func host start resulted in worker startup failure, GRPC timeout, and ultimately, an SQL login failure exception was thrown when accessing the database, as shown in the following image:
Image

Repro Steps:

  1. Run azd init -t todo-csharp-sql-swa-func.
  2. Run azd up.
  3. Run task: start api.

Environment:

  • Template: todo-csharp-sql-swa-func.
  • Azd version: azd version 1.24.0-beta.1-daily.6038122 (commit 69ab5ebc77e88cd93240670a208b04488d7c3c3c).
  • OS: Codespace and Mac.
  • Branch: Main.

Expected behavior:
The start api task can run successfully.

@rajeshkamal5050 for notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions