Semion Vasilevitzky and Jonathan Elkabas

Editor’s Note: Welcome to the third practice tutorial in Understanding and Preventing Entra ID Agent Identity Attacks: A Comprehensive Guide. This multi-part technical walkthrough helps you understand Microsoft’s approach to agent identities and how you can protect them from threat actors. To review previous chapters and practice lessons, start here.


In Chapter 5 of our guide, we introduced the Microsoft Agent Registry and explained how it works to enable visibility and governance over agent identities.
To see the theory in practice, let’s return to the agent identity we created earlier and register it in the Agent Registry.


Provide initial properties

Call the /copilot/agentRegistrations endpoint and providing at least the following properties:

  • display name
  • agent identity ID
  • owner IDs
  • created by ID (could be user or service principal ID that created this agent)
  • created date
  • last modified date

This operation requires AgentRegistration.ReadWrite.All permission.

The response message includes the created id.

Figure 1. Providing initial properties for agent registration

If you omit the agent identity id, the registry record is still created, but it won’t be linked to an Entra Agent ID (the scenario described earlier in the Registry chapter).

Figure 2. Registering an agent without an Agent ID

You can also enrich the registration with additional fields such as blueprint id, agent card, originating store, and more.


Validate registration

After registration, we can validate the result in the Microsoft 365 admin center under Agents / All agents / Registry.

Figure 3. Validating registration of our demo agents

One will have an Entra agent ID linked to it.

Figure 4. Demo agent with Agent ID

While the second will not.

Figure 5. Demo agent without Agent ID

It is important to separate the Agent Registry registration from Entra Agent ID creation.


Registering an agent in the M365 Agents experience does not create a Microsoft Entra Agent ID.

  • Entra Agent ID is the identity layer.
  • The M365 registry is the management/discovery plane.

Next up: Let’s pick up where we left off in Chapter 5 and explore how agents operate in Entra ID.


Explore the guide