snippy icon indicating copy to clipboard operation
snippy copied to clipboard

Failed to run `azd up` on Codespaces

Open faynef opened this issue 1 year ago • 2 comments

Description: Running azd up in the Codespaces environment failed with the following error: Image After updating the reference in main.bicep from app/rbac/ai-project-Access.bicep to app/rbac/ai-project-access.bicep, the issue was resolved and the resources were successfully provisioned.

Repro Steps:

  1. Open in Codespaces.
  2. Run azd auth login --use-device-code.
  3. Run azd up.

Environment:

  • Azd version: azd version 1.15.1 (commit b8385e796d2a4b2e5b431ddf3fcc2069034d7ce3)
  • OS: Codespaces

Expected behavior: azd up command can be successfully run on Codespaces.

Suggestion: Update the reference from app/rbac/ai-project-Access.bicep to app/rbac/ai-project-access.bicep in main.bicep.

@thegovind and @hemarina for notification.

faynef avatar May 08 '25 09:05 faynef

fixed this in main, please try again @faynef

thegovind avatar May 10 '25 05:05 thegovind

@thegovind Based on the latest main branch code test, this issue has not been fixed and can still be reproduced.

faynef avatar May 12 '25 07:05 faynef