An AI data company asks how many emails, files and messages your business has. You know you have years of records. You do not know whether the answer is 20,000 files or 200,000, and the dashboard in front of you shows storage space rather than a count.
Start with an inventory: one row per tool, a clearly defined count, the dates covered and a note explaining how you got the number. The six guides below show both a portal route and a PowerShell route. They cover Microsoft 365 work accounts and QuickBooks Online.
This is the practical follow-up to how to sell your company's data to AI companies. If you are still exploring the market, our AI training data explainer covers why business records matter.
Choose the tool you need to count
| Tool | What to report | Step-by-step guide |
|---|---|---|
| Outlook | Mailbox items or mail-folder items, with the distinction stated | Count Outlook emails |
| Calendar | Calendar items, with recurring series and copied calendars explained | Count Microsoft 365 calendar events |
| Teams | Recent message activity or retained compliance records | Count Teams messages |
| OneDrive | Reported files and storage across work accounts | Count OneDrive files |
| SharePoint | Reported files and storage across company sites | Count SharePoint files |
| QuickBooks Online | Transaction records, with split lines handled separately | Count QuickBooks transactions |
Ask what the buyer means by a count
Before spending an afternoon collecting numbers, send this:
Do you want total stored records or activity during a particular period? Should we include shared accounts, online archives and deleted records? Do you want copies counted in each account, or unique records across the company? Are report-based counts acceptable for the initial questionnaire?
Those answers change the work. Two employees can each hold a copy of the same email. A recurring calendar series can generate dozens of meetings. One transaction can produce multiple accounting lines. A useful number explains its unit.
The buyer may accept an approximate initial inventory. If so, provide an honest estimate with its method rather than implying you completed a detailed content audit.
Build one inventory table
Copy this table into your working document. Keep the original report exports in a local folder so you can trace each number back to its source.
| Tool | Count and unit | Storage | Dates covered | Included accounts or sites | Method and snapshot date |
|---|---|---|---|---|---|
| Outlook | To collect | If requested | To verify | Users, shared mailboxes, groups and archives | Portal report or folder inventory |
| Calendar | To collect | Usually unnecessary | To verify | Selected calendars | Calendar folder items or search estimate |
| Teams | To collect | If requested | State activity period or retained scope | Users and channel locations | Activity report or compliance inventory |
| OneDrive | To collect | Used storage | To verify separately | Work OneDrive accounts | Usage report and refresh date |
| SharePoint | To collect | Used storage | To verify separately | Company sites | Usage report and refresh date |
| QuickBooks | To collect | Usually unnecessary | Earliest and latest transaction dates | Relevant company file | Transaction report and export date |
Add an exclusions column if your scope is complicated. “Online archives excluded” or “inactive sites retained” is more useful than a vague claim that the count includes everything.
Choose the portal or PowerShell
Use the portal when you want a visible report and an Excel export. Use PowerShell when you need to repeat a count, cover many accounts or preserve a consistent calculation.
Neither method automatically makes a result more accurate. A script can sum the wrong column perfectly. A portal can show a correct count for a scope that does not match the application.
Microsoft 365 reporting needs an account with access to usage reports, such as Reports Reader. Exchange folder statistics and Purview searches require their own permissions; access to a report does not grant access to every mailbox or document. Microsoft's usage report access guidance (opens in a new tab)
If an administrator is helping, give them the tool list and ask for aggregate counts plus the scope and collection date. You usually do not need message bodies or customer documents to complete the first inventory.
Keep three different dates separate
The collection date is when you downloaded or ran the report. The report refresh date is the snapshot Microsoft used. The record date range describes the underlying business records.
A report collected November 30 might have refreshed November 28. Its last-activity date does not tell you when the oldest file was created. Write “oldest file date not verified” until you inspect the relevant file metadata.
Likewise, the date you opened a QuickBooks account does not establish the earliest transaction date. A migration may have imported older entries, and an old mailbox may have had its earliest messages removed.
What a real first inventory can look like
In a November 2026 inventory for a property management business, the working notes recorded 1,454 OneDrive files, 35,084 SharePoint files, 12,553 main-calendar items and 282,373 reported mail-folder items. The file reports had refreshed two days before collection.
The tricky numbers were Teams and QuickBooks. The Teams figure represented stored compliance copies, while the QuickBooks export contained split lines. Those values needed different labels before they could become questionnaire answers. The tool guides explain both situations without exposing staff accounts or business records.
The lesson is practical: preserve what the report actually measured. Do not turn a partial count into an all-company total or an accounting line count into a transaction count.
Avoid counting the same files under two products
A document linked in Teams may already be in your SharePoint or OneDrive file inventory. Treat the chat message and the linked document as different record types, and do not add the same underlying file again just because someone opened it through Teams. Microsoft explains Teams content locations (opens in a new tab).
Separate service reports also do not prove your company has no duplicate documents. Someone can save a copy of a shared file into their own drive. If a buyer asks for unique document content, a later deduplication pass is a different job from counting stored files.
Finish the questionnaire with a method note
Use this wording beneath your table:
Counts collected on [date] using [reports or commands]. The inventory covers [accounts, sites and company files]. Report snapshots are dated [dates]. Counts represent [stored records, activity or estimates]. Duplicates and exclusions: [details]. Historical coverage: [verified dates or unknown].
An inventory helps a buyer assess fit. The separate question of which records can be licensed still needs to be settled before a content transfer. Keep that discussion tied to the actual records and the buyer's requirements rather than assuming every counted item belongs in a dataset.
Once your counts are ready, check your business's fit for data licensing. For help organizing your own working files with AI, start with the free Claude Cowork course.