Skip to content

What permissions are needed to register a sample Agent's blueprint identity using Agent365 CLI #141

@IK2019

Description

@IK2019

Describe the bug
Getting error while adding a new Agent Blueprint Identity in Entra id.

WARNING: Could not retrieve current user for

Image

: Insufficient privileges to complete the operation.
Creating Agent Blueprint application...

  • Display Name: Agent365PythonAgent Blueprint
    ERROR: Failed to create application: BadRequest - {"error":{"code":"Request_BadRequest","message":"No sponsor specified. Please provide at least one sponsor.","innerError":{"date":"2025-12-31T19:49:31","request-id":"1335c81e-214c-4573-ad67-06234929675a","client-request-id":"1335c81e-214c-4573-ad67-06234929675a"}}}
    ERROR: Failed to create agent blueprint

Already configured the following:

  • Global Administrator or Privileged Role Administrator required to grant other permissions.
    
  • Added to following roles required to Create a blueprint: Agent ID Developer or Agent ID Administrator in Entra Id. 
    
  • Using A365 CLI PowerShell so added following Microsoft Graph permissions: AgentIdentityBlueprint.Create (delegated permission) AgentIdentityBlueprint.Create (application permission) 
    
  • what else is needed to define scope?

To Reproduce
Steps to reproduce the behavior:

  1. In Agent365 CLI, run the following:
    a365 setup blueprint -v

Error is displayed after success adding Graph permissions (see attached)

Screenshots:
Please see the error

I am extending the Python Template created with Agent framewrok

Metadata

Metadata

Assignees

Labels

P2High priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions