# AI agents should not be shared with broad access control policies

AI agents should not be shared with broad access control policies. A Maester check for Copilot Studio, Agents.

Source: https://maester.dev/docs/tests/MT.1113

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/lnfernux" title="Truls Thorstad Dahlsveen · Original author"><img src="https://github.com/lnfernux.png" alt="Truls Thorstad Dahlsveen" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/lnfernux">Truls Thorstad Dahlsveen</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/maester">Maester</a> · Copilot Studio · Agents · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId MT.1113
```

## Overview

AI agents should not be shared broadly with unrestricted access.

Agents with access control set to **Any** or **Any multitenant** can be accessed by anyone, including users outside your organization. This increases the risk of data exposure and unauthorized use of connected systems.

### How to fix

In Copilot Studio, go the agents overview and click on the three dots (`...`) and "share". From here, select "My organization" and make sure it's set to **No permissions, unless specified**. Then, in the specific agents settings, go to "Security" and "Authentication" and make sure "Multi-tenant support" is toggled **off**.

Learn more: [Control how agents are shared](https://learn.microsoft.com/microsoft-copilot-studio/admin-sharing-controls-limits) and [share agents with other users](https://learn.microsoft.com/microsoft-copilot-studio/admin-share-bots?tabs=web)

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | MT.1113 |
| Severity | High |
| Suite | Maester |
| Product | Copilot Studio |
| Feature | Agents |
| Area | AI and agents |
| Resource type | Agent |
| User impact | Medium |
| Implementation cost | Medium |
| MITRE ATT&CK | T1213 Data from Information Repositories |
| Supports controls | nist-800-53-r5:AC-3 |
| PowerShell test | [Test-MtAIAgentBroadSharing](https://github.com/maester365/maester/blob/main/tests/maester/copilot-studio/Test.MT.1113.ps1) |
| Services | Graph |

</details>

## Source

- Test: [`tests/maester/copilot-studio/Test.MT.1113.ps1`](https://github.com/maester365/maester/blob/main/tests/maester/copilot-studio/Test.MT.1113.ps1)
- Documentation: [`tests/maester/copilot-studio/Test.MT.1113.md`](https://github.com/maester365/maester/blob/main/tests/maester/copilot-studio/Test.MT.1113.md)
