Customers

Manage your customer records and their associated Microsoft 365 tenants. Customers represent your business relationships while tenants are the technical Microsoft 365 environments you manage.

Customer vs Tenant

A customer can have multiple tenants (e.g., production and test environments, or separate tenants for different subsidiaries). Each tenant can only belong to one customer.

Customer List

The customer table displays:

ColumnDescription
Customer NameBusiness name of your customer
Primary ContactMain point of contact email/name
TenantsNumber of M365 tenants associated
Total UsersSum of licensed users across all tenants
Health StatusAggregate health across all customer tenants
PSA IDLinked ID from ConnectWise/Autotask/HaloPSA
CreatedWhen the customer record was created

Creating a Customer

Click "Add Customer" to create a new customer record:

Customer Name

Required. The business name of your customer.

Primary Contact

Optional. Email address of the main point of contact.

Phone Number

Optional. Primary contact phone number.

Address

Optional. Business address for the customer.

Notes

Optional. Internal notes about this customer.

PSA Integration

If you've configured a PSA integration (ConnectWise Manage, Autotask, HaloPSA), customers can be automatically synchronized:

  • Auto-sync — New customers in your PSA appear automatically
  • Bi-directional — Changes in either system sync to the other
  • Matching — Link existing OpsPilot customers to PSA records
  • Tickets — Create tickets that sync back to your PSA

Configure PSA integration at: Settings → Integrations → Third-Party Apps

Customer Detail View

Click on a customer to see the full detail view with these tabs:

Overview

Summary cards showing total users, licenses, security score, and recent activity.

Tenants

List of all M365 tenants associated with this customer. Add or remove tenant associations.

Contacts

Additional contacts beyond the primary. Useful for escalation paths.

Tickets

Open and recent tickets for this customer across all their tenants.

Documents

Store customer-specific documentation like contracts or runbooks.

Activity Log

Audit trail of all actions performed on this customer's tenants.

Bulk Operations

  • Import Customers — Upload CSV to create multiple customers
  • Export — Download customer list as CSV or Excel
  • Merge Customers — Combine duplicate customer records
  • Archive — Hide inactive customers without deleting

API Reference

GET /api/msp-portal/customers

List all customers with summary data

POST /api/msp-portal/customers

Create a new customer record

GET /api/msp-portal/customers/:customerId

Get customer details including associated tenants

PUT /api/msp-portal/customers/:customerId

Update customer information

DELETE /api/msp-portal/customers/:customerId

Delete customer (must have no associated tenants)

POST /api/msp-portal/customers/:customerId/tenants

Associate a tenant with this customer