> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting AvePoint Elements to Neo

> Register an Elements API app and save its Application (Client) ID, client secret and permissions in Neo

You connect AvePoint Elements once at the partner level. One Elements API app covers every customer in its customer scope.

## 1. Register an Elements API app

**1. Create the app**

Sign in to Elements. Open **Settings**, choose **API app registration** in the Additional area, and under the **Public API** tab click **Create app registration**. A large account reseller opens **Settings** > **Public API** instead.

**2. Pick its permissions**

Name the app, for example "Neo", and select the permissions Neo may use. **elements.customers.read.all** is required: Neo reads your customers and their tenants with it. Add the permissions for what your agents should do:

| To let agents | Add |
| - | - |
| Read users and their security status | elements.um.user.read.all |
| Update users | elements.um.user.readwrite.all |
| Read risk rules, Azure security issues, Azure cost issues, workspaces | elements.rm.read.all, elements.sm.read.all, elements.cm.read.all, elements.wm.read.all |
| Read Cloud Backup protection, jobs and scan profiles | elements.cbprotected.read.all, elements.jobs.read.all, elements.scanprofiles.read.all |
| Read or apply baselines | elements.bm.baseline.read.all, elements.bm.tenant.read.all, or the readwrite.all forms |
| Read services; add services | elements.license.read.all; elements.license.readwrite.all |
| Onboard customers and tenants | elements.customers.readwrite.all |
| Read the audit log | elements.report.read.all |

**3. Choose the customer scope**

Select **All customers**, or the specific customers or customer groups Neo may reach.

**4. Add a client secret**

Under **Certificates and secrets**, open **Client secret**, click **Add client secret**, choose 1, 2 or 3 years, and copy the value. Elements shows it only once: store it only in Neo. Save the app, open it, and copy the **Application (Client) ID**.

## 2. Add the values in Neo

**1. Open Integrations**

In the Neo Dashboard, open **Integrations** and find the AvePoint Elements card, under Identity & Workspace.

**2. Save the values**

Paste the **Application (Client) ID** and the **Client Secret**. In **Permissions**, list the permissions you gave the app, separated by spaces, for example `elements.customers.read.all elements.um.user.read.all`. Click **Save settings**. Neo gets a token for those permissions and reads your customer list before saving, so a wrong value is rejected straight away.

Neo asks AvePoint for exactly the permissions you list. When you add a permission to the app later, add it to this list too. When a secret expires, add a new one in Elements and save it in Neo.

Neo then maps your Elements customers to your PSA companies. Check the **Organization Mapping** tab on the card, and confirm or correct each suggested match.

## 3. Turn AvePoint Elements on per agent

Open the agent, go to its **Tools & Settings** tab, click **Identity & Workspace**, and expand the **AvePoint Elements** block. Pick a preset, or set each area yourself:

| Area | Notes |
| - | - |
| **Customers and Tenants** | Your customers and their Microsoft 365 tenants. Write onboards a customer, sends a consent link that adds a tenant or authorizes service apps, and adds tenants to modules. |
| **Services and Subscriptions** | A customer's services, seats and storage profiles. Write adds a service, which can change what you pay AvePoint. |
| **Backup and Jobs** | Cloud Backup protection, jobs, job reports and scan profiles. |
| **Users** | A tenant's users. Write updates a user's profile, contact details, office, manager, sponsor and account details. A hybrid user's home directory, profile path and logon script always ask a technician. |
| **Password Settings** | Whether a user's password never expires. A write here always asks a technician. |
| **Risk, Compliance and Cost** | Risky sign-ins, compliance workflows, risk rules, Azure security and cost issues, workspace statistics. |
| **Baselines** | Baselines, their tenants and jobs. Write creates a baseline and applies baselines to a tenant. |
| **Audit Logs** | Your Elements audit log. |
| **Reseller Subscriptions** | For a large account reseller: resellers and pooled subscriptions. |

| Preset | What runs on its own | What asks a technician |
| - | - | - |
| **Read Only** | Every read | Nothing: Neo changes nothing in Elements |
| **Helpdesk** | Every read | Every write |
| **IT Admin** | Reads, and user updates | Onboarding, services, reseller subscriptions, baselines and password expiry |
| **Full Automation** | Everything else | Password expiry and a hybrid user's profile and logon script, which always ask |

See [AvePoint Elements API](https://docs.neoagent.io/agents/tools/m365/avepoint-elements-api.md) for what the agent can do.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.