Managing Agent ID Access
This lesson explains how owners, sponsors and access packages keep agent access limited and reviewed.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish owners from sponsors.
- Apply least privilege to agents.
- Explain how access packages govern agents.
- Describe an agent lifecycle.
Ownership and sponsorship
An agent with no accountable person is a governance failure waiting to happen. Microsoft Entra Agent ID separates two responsibilities.
In the Microsoft Entra admin center, this is under Entra ID > Agents > Agent blueprints or Agent identities, then Access > Owners and sponsors. Changing them needs the Agent ID Administrator role and existing ownership of the object. If a sponsor leaves the organization, sponsorship transfers automatically to that person's manager. Copilot Studio records an agent's creator as its sponsor. Owners and sponsors can manage their agents in the My Account and My Access portals.
Owner or sponsor?
Least privilege for agents
Permissions for agents follow the rules that apply to any principal, with an added reason for care: an agent can be manipulated by the content that it reads. If an agent reads untrusted email, then assume that an attacker may eventually control what it does, and ask what the worst outcome would be.
The following principles apply.
- Give each agent its own identity, and do not share identities across agents.
- Grant specific permissions rather than broad Microsoft Graph application roles.
- Prefer delegated access where a user's own rights provide a natural limit.
- Avoid privileged directory roles for agents.
- Use blueprint inheritable permissions carefully, as they reach all agent identities from that blueprint.
- Remove permissions when a use case ends.
Least privilege for agents
Entitlement management for agents
Microsoft Entra ID Governance capabilities can apply to agents. An access package bundles resources: security groups, OAuth API permissions and Microsoft Entra roles. An agent, or a person acting for it, requests a package, and the policy decides approval and duration. The package's policy can include the option All agents. Assignments can expire, so that an agent's access ends unless someone renews it, and that prevents permanent access from accumulating.
Governing agent identities through ID Governance is marked as a preview capability, and it has licensing that needs Microsoft 365 E7, or Microsoft Agent 365 with at least P1 or E3. Check Microsoft Learn for the latest position.
Access packages for agents
Keeping agent access under review
Time-limited packages are only one part of the picture. Sponsors should review what each agent can do. A review asks whether the agent still serves a purpose, whether its permissions match, and whether its owner and sponsor are right. Combine this with monitoring: sign-in logs show agent sign-ins, audit logs show creation and permission changes, and Defender shows posture and risk.
An agent lifecycle resembles a staff lifecycle. It is requested, approved, given limited access, reviewed periodically, and removed when no longer needed. Retiring an agent should remove its identity and its grants, so that a forgotten agent does not remain as a dormant path into the organization.
A sponsor leaves
A business analyst created a Copilot Studio agent that reads customer data. The analyst has left the company. The security team must make sure that someone remains accountable, and that the agent's data access ends after 90 days unless it is reapproved. What happens, and what should you configure?
Sponsorship passes automatically to the analyst's manager, so someone remains accountable, although that manager should confirm that the agent is still needed. For the time limit, grant the data access through an access package with an expiry of 90 days, so that it ends unless renewed.
A permanent permission grant with a calendar reminder depends on someone remembering. Adding a technical owner would address operations, not the business accountability that a sponsor provides. Deleting the agent immediately would ignore the business need.
Who should decide whether an agent is still needed: its owner or its sponsor?
Show answer
Its sponsor, who is the business person accountable for purpose and lifecycle.
Exam Tips
Remember for the exam
- Owners run agents; sponsors are accountable for them.
- A departing sponsor's agents pass to that person's manager.
- Access packages give agents time-bound, reviewable access.
- Assume that an agent reading untrusted content can be manipulated.