Skip to content

a365 setup blueprint command failed #295

@shunishii

Description

@shunishii

Description

According to the documentation below, a365 setup blueprint command requires the Agent ID Developer role; however, when the command is run, it fails and returns an error.

[ERR] Failed to call create endpoint. Status: BadRequest
[ERR] Error response: {"error":"Invalid roles","message":"User does not have a required role"}

Agent 365 CLI setup command reference

Just to be safe, ran it after assigning the roles listed below, but still be encountering the same error.
“Global Administrator,” “Agent ID Developer,” “Agent ID Administrator,” “Agent Registry Administrator,” “Application Administrator” “Contributor for the target resource group”

Expected behavior

Ensure that this command can be executed with the minimum required permissions, and clearly document those requirements.

SDK Version

1.1.94-preview+61107da00a

Language/Runtime

WSL2 Ubuntu

OS

Ubuntu (WSL)

How to Reproduce

  1. Run a365 config init
  2. Run a365 setup blueprint

Output

[ERR] Failed to call create endpoint. Status: BadRequest
[ERR] Error response: {"error":"Invalid roles","message":"User does not have a required role"}
[ERR] To resolve this issue:
[ERR]   1. Check if endpoint exists: Review error details above
[ERR]   2. Delete conflicting endpoint: a365 cleanup blueprint --endpoint-only
[ERR]   3. Try registration again: a365 setup blueprint --endpoint-only
[ERR] Failed to register blueprint messaging endpoint

We tried the solution above, but still not working.

Screenshots

No response

Code of Conduct

Metadata

Metadata

Labels

P1Very high prioritybugSomething isn't workingescalatedIssue has breached SLA and been escalated

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions