> For the complete documentation index, see [llms.txt](https://docs.autopilotmonitor.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autopilotmonitor.com/concepts/roles-and-permissions.md). Agents can also search and read this documentation through its [MCP server](https://docs.autopilotmonitor.com/~gitbook/mcp).

# Roles & Permissions

Who can see and do what in the portal: Tenant Admin, Operator and Viewer roles, members without a role, push notifications, the Admin Mode safety toggle, and MSP fleet access.

Access to the portal is controlled by role-based permissions. Everyone signs in with their Microsoft Entra ID account; what they see is determined by the role assigned within Autopilot Monitor.

## Tenant roles

| Role                 | Permissions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Tenant Admin**     | Full access to all tenant configuration, sessions, diagnostics, and settings. Manages team members via **Settings → Access Management**, can enable **Admin Mode** for destructive operations. The **first member of the organization to sign in** is automatically granted this role; a guest account never is.                                                                                                                                                                                                             |
| **Operator**         | Day-to-day monitoring role: views sessions and analytics, sees the tenant's settings read-only (secrets are redacted, and there are no save controls), manages Bootstrap Tokens (if granted), executes device actions such as on-demand log collection, and can report sessions and submit diagnostic files to support. Configuration changes, member management, validation gates, and offboarding remain with Tenant Admins. Cannot enable Admin Mode and cannot perform destructive operations such as deleting sessions. |
| **Viewer**           | Read-only role: sees everything in the portal — sessions, session details, rules, analytics, settings (secrets redacted), and reports — but cannot change anything or trigger actions. Ideal for auditors, security reviewers, or stakeholders who need full visibility without any write access.                                                                                                                                                                                                                            |
| **Member (no role)** | Only sees the **Progress Portal** — a simplified view for tracking a specific device by serial number. No access to session details, diagnostics, or configuration. Ideal for helpdesk staff or on-site technicians who just need to answer "how far along is this device?"                                                                                                                                                                                                                                                  |

Every member with a role can send feedback to the Autopilot Monitor team from the help menu (**? → Send feedback**).

Team members are added by UPN under **Settings → Access Management**. The list shows one line per member and filters by role; click a member to change the role or to disable or remove the entry. The same page adds a **service principal** (an application in your tenant, by its application ID) for unattended automation over the [MCP integration](https://docs.autopilotmonitor.com/integrations/ai-integration-mcp.md#service-principals-and-automation); a service principal is always a Viewer. The same entry admits an app of your own that signs users in and sends their tokens ([Your own app on behalf of users](https://docs.autopilotmonitor.com/integrations/ai-integration-mcp.md#your-own-app-on-behalf-of-users)). Only an app added this way is accepted. Each person still needs their own role, and through the app they can only read, whatever that role is.

## Push notifications

**Admins and Operators** can pair their own phones and browsers for [push notifications](https://docs.autopilotmonitor.com/integrations/push-notifications.md) and use **Notify me when done** on a running session — whether their role comes from the member list under **Settings → Access Management** or from Entra app roles.

* A **Tenant Admin** adds the Push channel that turns push on, sees every paired device of the tenant under **Push devices**, and can rename or remove any of them. Everyone else sees, renames and removes their own devices.
* **Viewers** and **members without a role** cannot pair devices.
* **Delegated (MSP) access** does not include push yet: the button does not appear on sessions of tenants you manage.
* Removing, disabling or demoting a member below Operator removes their paired devices at once. For a role assigned through Entra app roles, this happens when the member's next sign-in no longer carries the role.

## Admin Mode

Admin Mode is a safety toggle that gates destructive operations. It is only available to Tenant Admins and must be explicitly enabled before any destructive action — preventing accidental deletions during normal day-to-day use.

**How to enable:** click the **gear icon** in the top navigation bar and toggle **Admin Mode** under *Administration*. The toggle turns amber and shows **ON** while active.

| Action                | Location                   | Description                                                                                                                                                                                                                                                                                                            |
| --------------------- | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Delete Session**    | Dashboard → Actions column | Permanently deletes a session and all its event data. The Actions column only appears while Admin Mode is on. Use the **Select** button above the list to pick several sessions and delete them (or block their devices) in one step — at most 100 per action; deleting more than 10 at once requires typing `DELETE`. |
| **Mark as Failed**    | Session detail page        | Manually fails a stuck *In Progress*/*Pending* session that will never complete on its own.                                                                                                                                                                                                                            |
| **Mark as Succeeded** | Session detail page        | Manually completes a session; also signals a still-running agent to finish up and clean the device.                                                                                                                                                                                                                    |

{% hint style="info" %}
Admin Mode is **not persistent** — it lives in the browser's local storage and resets when browser data is cleared. Keep it off unless you are actively performing administrative actions.
{% endhint %}

## MSP / fleet access

For managed service providers, Autopilot Monitor supports **delegated administration**: a delegated admin manages a defined set of customer tenants and gets a **Fleet** view with the same analytics (Fleet Health, Software, Geographic Performance, SLA, Usage) scoped across exactly those tenants — never more.

Delegated administration is a **Pro-only** capability: the managing (MSP) tenant must be on the [Pro plan](https://docs.autopilotmonitor.com/plans.md). The managed customer tenants can start on any plan, including Community — if the managing tenant is not on Pro, the delegated scope is empty and no customer data is accessible. Pro includes **two managed tenants**; additional managed tenants can be purchased as add-ons, and every additional slot also extends your organization's and your accounts' AI (MCP) budgets. A pending invitation and a recently removed tenant (24 hours) each keep their slot.

**Managed tenants are on Pro.** A tenant managed by an organization on the Pro plan gets the Pro capabilities for as long as the delegation lasts — its plan badge reads **Pro (MSP)**, also when the tenant has a Pro plan of its own. Conferred Pro does not include delegated administration itself: a managed tenant cannot invite or manage tenants unless it is on Pro in its own right. When the delegation ends, the tenant returns to its own plan; a tenant that had raised its data retention keeps the 30-day grace described under [Plans](https://docs.autopilotmonitor.com/plans.md) before the Community limit applies. A trial of the managing organization does not upgrade its customers.

How the model protects the customer:

| Guarantee                         | What it means                                                                                                                                                                                                                                                                                                                                                      |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Read-only access**              | Delegated principals can view sessions, events, and analytics across their assigned tenants. Write and destructive operations are structurally unavailable — there is no path for a delegated principal to change configuration, delete sessions, or run device actions in a customer tenant.                                                                      |
| **Secrets redacted**              | Configuration is visible in redacted form: secrets such as SAS URLs, tokens, and webhook credentials are never exposed to a delegated reader.                                                                                                                                                                                                                      |
| **Customer-visible audit trail**  | Every grant and revoke of delegated access is written to the audit log of the **managed customer tenant**, not the MSP's own tenant — so the customer can always see who was given access to their data, and when.                                                                                                                                                 |
| **AI usage is the manager's own** | MCP requests a delegated admin makes into a managed tenant count against the **managing organization's** own MCP budgets — never against the customer's. A managed tenant is never slowed down or blocked by its manager's AI usage. See [AI Integration (MCP)](https://docs.autopilotmonitor.com/integrations/ai-integration-mcp.md#rate-limits-and-usage-plans). |

### Setting it up yourself

A Pro tenant manages its delegations under **Settings → Tenant → Delegated Access**:

1. **Invite a customer.** Create an invitation link (valid 7 days, works once) and send it to an administrator of the customer tenant. Nothing is granted until they accept.
2. **The customer accepts.** Their tenant administrator opens the link, sees exactly what is granted (read-only, secrets redacted, AI usage on the manager's own budget) and confirms. The grant appears in their audit log immediately.
3. **Assign your team.** Pick which members of your own tenant (Access Management) may read the managed tenants — always read-only. Removing or disabling a member under Access Management ends their access; after re-enabling, assign them again.
4. **Remove a tenant.** Either side can end the delegation at any time; access stops immediately. The managing tenant's slot stays occupied for 24 hours after a removal, so a small allowance cannot be rotated through many customers.

Every tenant — including Community — sees under **Delegated Access** who can read it and can end a self-service delegation itself. Delegations provisioned by the platform operators are listed there too; contact support to change those.

{% hint style="info" %}
For the deeper explanation of tenant isolation and how delegated scopes are enforced, see [Trust & Security](https://docs.autopilotmonitor.com/trust-and-security/security-faq.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.autopilotmonitor.com/concepts/roles-and-permissions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
