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

Local API Request Fails Due to Missing Cosmos DB RBAC Permissions #12

Description

Describe the issue:
After successfully start the API, calling the API fails. The logs show a 403 Forbidden response from Cosmos DB indicating that the current principal does not have sufficient RBAC permissions.
Image

Repro Steps:

  1. Run azd init -t todo-nodejs-mongo-aca.
  2. Run azd up.
  3. Run task start api and web.
  4. Open the web page.
  5. Check API log output.

Environment:

  • Template: todo-nodejs-mongo-aca.
  • Azd version: azd version 1.26.0-beta.1-daily.6301145 (commit 444ec22a6de98d7ee775da0a380efb9a023f8869) (daily).
  • OS: Windows and Codespace.
  • Branch: Main.

Expected behavior:
In the local test environment, the API should be able to access the Cosmos DB normally and return the expected results.

Rajesh Kamal (@rajeshkamal5050) and Rick Winter (@RickWinter) for notification.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions