Mitiga el riesgo de los datos de IA y crea controles listos para auditorías en 6 pasos prácticos. Mira nuestro minicurso gratuito

Resource centerCourse

Part 4: Who manages your AI agents?

Part 4: Who manages your AI agents?

A blue user icon branching into five connected nodes against a dark blue digital grid background.

In August 2025, attackers used stolen OAuth tokens from Salesloft Drift, an AI-powered chat application, to access customer data in connected Salesforce environments.

Google's threat intelligence team reported that more than 700 organizations were potentially affected. Attackers also searched the stolen data for credentials, including AWS keys and Snowflake tokens, that could provide access to other systems.

They didn't need to compromise employee accounts. The stolen tokens gave them access through a trusted integration.

While this incident involved Salesforce, it highlights a broader risk: AI agents and integrations can access sensitive systems through identities and credentials that don't always receive the same oversight as employee accounts.

This raises an important question for your own environment:

Do you know which AI agents are operating, what they can access, and who's responsible for them?

In the previous part, we looked at what employees share with AI tools. Now we'll look at the identities and permissions behind AI agents, focusing on how to identify and govern them in Microsoft environments.

Three steps to secure AI agents and non-human identities

You don't need a complete inventory of every automated process to get started. Choose one AI agent or agent-enabled workflow and follow its access from start to finish.

Step 1: Discover AI agents in your environment

Find AI agents and their identities.

Step 2: Map what each agent can do

See permissions and potential impact.

Step 3: Give every AI agent a manager

Make someone accountable.

Step 1: Discover AI agents in your environment

Your goal: Identify active AI agents and the identities they use to connect to company systems.

An AI agent may be deployed through an approved platform, created by a development team, or added as part of a business application. Its access might come from a dedicated application identity, a service account, or an API key.

Start with the platforms where agents are deployed, then check the identities they use to connect to other systems.

  1. Review your AI platforms and applications. Check the agent or application management areas of platforms such as Microsoft Copilot Studio and Azure AI Foundry. Look for deployed agents, their owners, and connected data sources. Ask application owners and development teams about agents running outside these platforms.
  2. Inspect non-human identities. In the Microsoft Entra admin center, review App registrations and Enterprise applications for application identities and service principals. In Active Directory, check service accounts used by automated processes. Ask application owners where API keys and other credentials are managed, including approved secrets managers.
  3. Connect agents to their credentials. Check each agent's configuration, connections, and authentication settings to identify which identities or credentials it uses. Record the systems those connections provide access to.

Start with agents that interact with sensitive data or can change records. Netwrix 1Secure can help identify sensitive data across supported repositories, giving you a starting point for deciding which agent connections deserve closer attention.

Bear in mind: Not every non-human identity belongs to an AI agent, and one agent may use several identities. An account inventory alone won't tell you which agents are operating.

Step 2: Map what each agent can do

Your goal: Understand the agent's permissions and the potential impact if it behaves unexpectedly or its credentials are compromised.

Once you've identified an agent and its connections, check what those connections actually allow it to do.

For example, an agent designed to summarize support tickets may only need read access to a specific dataset. If its identity can also modify customer records or access financial information, the potential impact is much greater.

  1. List its connected systems. Review the agent's connection settings and configuration to identify the applications, databases, file repositories, and APIs it uses. Check with application owners for connections that aren't visible in the agent platform.
  2. Review its effective permissions. In Microsoft Entra ID, check the application's API permissions and assigned roles. Review relevant group memberships and, for SharePoint Online or file shares, the permissions on the data itself. Check whether the agent uses its own application permissions or acts on behalf of a signed-in user.
  3. Identify unnecessary access. Compare those permissions with the agent's intended tasks. For Microsoft 365 data, check SharePoint Online's Manage access settings and relevant site or library permissions. Remove privileges the agent doesn't need, with the application owner's approval. Netwrix 1Secure can help identify sensitive data and access risks across supported repositories.
  4. Check its credentials. Review credential details in Entra app registrations and the organization's approved secrets manager. Check expiration dates, who can access the credentials, and whether unused credentials can be revoked. Where supported, consider managed identities or scoped, time-limited access instead of long-lived credentials.

Pay particular attention to agents that can modify or delete data, send information externally, or perform actions across multiple systems.

Bear in mind: An agent's effective access depends on how it authenticates. Application permissions, delegated user permissions, and permissions within the connected system may all affect what it can do.

Step 3: Give every AI agent a manager

"We know how to govern human identities, and now we're rolling agents out, and it's like we've forgotten all of our best practices."

Jeff Warren, Netwrix CPO

Your goal: Make someone accountable for the agent's access, behavior, and ongoing security.

When an employee changes roles or leaves the company, you follow a process to review and remove access. AI agents need a similar lifecycle.

That starts with a named owner.

  1. Assign a responsible owner. Record the person or team accountable for each agent, its business purpose, and its approved access.
  2. Set review points. Reassess permissions when the agent gains a new capability, connects to another system, or changes purpose. Schedule periodic reviews for agents handling sensitive data. Identity governance tools can assign owners to non-human identities and run access reviews for them the way they do for employees.
  3. Define an offboarding process. When an agent is retired, disable its identities, revoke API keys and tokens, and remove unused connections.
  4. Establish an escalation path. Make sure someone knows how to pause the agent or revoke its access if it starts behaving unexpectedly. Identity threat detection tools can flag unusual use of a valid identity, including an agent’s.

Ownership should be practical. The person responsible needs enough information and authority to investigate issues and approve changes.

Bear in mind: Agents can outlive the projects or employees that created them. Without an ownership review, credentials and permissions may remain active long after the original business need disappears.

Your task this week: Give one AI agent an access review

Choose one agent or agent-enabled workflow and answer:

  • What business task does it perform, and which identity or credentials does it use?
  • Which systems can it access, and can it modify or export data?
  • Who owns it, and when was its access last reviewed?

If you find unnecessary access, work with the owner to reduce it. If nobody owns the agent, assign someone before expanding its capabilities.

One thing to remember

An AI agent is an identity with permissions, access to data, and potentially the ability to take action.

Treat its access with the same care you'd give a privileged employee or service account. Know what it can do, limit it to only what it needs, and make someone responsible for it.

The steps above show you which agents exist, what they can do, and who owns them. The next question is what data sits behind that access.

Explore the Netwrix 1Secure free trial to find sensitive data and see who can access it across supported systems.

Coming next: How many shadow AI tools slip under your radar?

You can secure the agents you know about, but what about the AI applications employees adopt without IT approval?

Part 5: How much shadow AI is slipping under your radar?

In Part 5, we'll look at how to identify shadow AI, assess the risks, and bring unmanaged tools under appropriate oversight.

Read Part 5

Share on