Permissions and access in Microsoft Perception

Access in Microsoft Perception works at three levels: who can set up Perception and its agents, what data each agent can access, and which users can run and view each agent.

Roles that set up Perception

  • Security Administrator role in Microsoft Entra ID: required to complete Perception setup, including billing, Microsoft Defender unified role-based access control (RBAC), and deploying blue and green team agents. No billing permissions are needed.
  • Red team agents: configured after Perception setup. For the roles required, see Set up and manage the Recon Agent and Set up the Web App Pen Test Agent (preview).

For the setup steps, see Get started with Perception.

What agents can access

Each agent runs under its own agent identity and shows the permissions it requires on its detail page. Perception resolves these permissions through Microsoft Defender unified RBAC, so agents can only work with data from workloads where Defender RBAC is active.

During setup, the Security Administrator also chooses whether blue and green team agents can access:

  • All device groups in Microsoft Defender for Endpoint. Without this access, agents can access data from ungrouped devices only.
  • Microsoft Sentinel data in your primary workspace.

Each agent works with the data its identity is authorized to access. For red team agents, the Azure subscriptions or web applications they can assess are set during each agent's configuration.

Note

Some agents might require access to additional resources that setup doesn't grant. For example, if you use Microsoft Purview data loss prevention (DLP) alerts, any agent with alert access needs access to those alerts. After setup, make sure each agent identity has access to any additional resource your organization uses with that agent.

Who can use an agent

Users need run access to start sessions with an agent and view access to see its activity and output. How users get that access depends on the agent type.

Blue and green team agents

During setup, the Security Administrator chooses one of two options.

Dynamic access (default). With Dynamically grant run access to qualified users selected, any user who holds all the permissions an agent requires can run it and view its activity and output. Perception checks the user's existing unified RBAC permissions, so access updates automatically as permissions change. Users added later, or given more permissions later, get access without any assignment.

Access assigned per agent. If the Security Administrator clears that option, they select each agent and choose users and groups under View access for users and groups and Run access for users and groups. Only users and groups that already hold the permissions the agent requires can be selected. Until access is assigned, no users can use that agent. Assign or change access later from the agent's page.

Red team agents

For who can run and view red team agents, see Set up and manage the Recon Agent and Set up the Web App Pen Test Agent (preview).

Troubleshoot access

A user doesn't appear when assigning access to an agent.

Only users and groups that already hold the agent's required permissions can be selected. Grant the user those permissions through Microsoft Defender unified RBAC, then assign access.

A user can't complete Perception setup.

Perception setup requires the Security Administrator role. Users without it see a page asking them to contact their administrator.

An agent's sessions fail after it was working.

An identity policy in your tenant might have disabled or blocked the agent's identity. On the agent's detail page, in the Identity section, select Copy ID for the agent ID and for the agentic user ID. In the Microsoft Entra admin center, search for each ID, check that the agent identity and its agent user are enabled, and review the audit logs to find what changed them.