---
id: change/bcapps/12428
type: change
title: "#12428 Add Copilot feature trial interface"
summary: Added a public Copilot feature trial interface to System Application, enabling applications to initiate trials, query remaining quota, and consume trial usage with corresponding implementation codeunits and tests.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit copilot feature trial
  - codeunit copilot feature trial impl.
  - codeunit copilot quota
  - codeunit copilot quota impl.
  - enum copilot quota usage type
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:01:56.344Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 9df55025ee6eb2a1346ddad3a8a55d1ba1ff75aa
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12428
    title: "microsoft/BCApps#12428: Add Copilot feature trial interface"
    date: "2026-10-07"
    commit: 9df55025ee6eb2a1346ddad3a8a55d1ba1ff75aa
    t: null
    quote: Add a public Copilot feature trial interface so applications can start trials, query remaining quota, and consume trial usage.
links:
  learn: []
  objects:
    - object/codeunit/7755
    - object/codeunit/7754
    - object/codeunit/7785
    - object/codeunit/7786
    - object/enum/7785
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 12428
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12428
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-07T15:44:54Z"
author: encimita
author_type: User
community_contribution: false
labels:
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 8
  additions: 345
  deletions: 1
  al: 6
apps:
  - System Application
objects_touched:
  - key: codeunit/7755
    page: codeunit/7755
    type: codeunit
    id: 7755
    name: Copilot Feature Trial
    app: System Application
    status: added
  - key: codeunit/7754
    page: codeunit/7754
    type: codeunit
    id: 7754
    name: Copilot Feature Trial Impl.
    app: System Application
    status: added
  - key: codeunit/7785
    page: codeunit/7785
    type: codeunit
    id: 7785
    name: Copilot Quota
    app: System Application
    status: renamed
  - key: codeunit/7786
    page: codeunit/7786
    type: codeunit
    id: 7786
    name: Copilot Quota Impl.
    app: System Application
    status: renamed
  - key: enum/7785
    page: enum/7785
    type: enum
    id: 7785
    name: Copilot Quota Usage Type
    app: System Application
    status: renamed
objects_unjoined:
  - path: src/System Application/App/DotNet Aliases/src/dotnet.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 653140
systems:
  - copilot
quote: Add a public Copilot feature trial interface so applications can start trials, query remaining quota, and consume trial usage.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #12428 Add Copilot feature trial interface

> Added a public Copilot feature trial interface to System Application, enabling applications to initiate trials, query remaining quota, and consume trial usage with corresponding implementation codeunits and tests.

[Pull request](https://github.com/microsoft/BCApps/pull/12428) · merged into `main` (BC30) on 2026-10-07 by encimita · 8 files (+345 -1), 6 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Adds a public Copilot Feature Trial codeunit, backed by an implementation codeunit, to start trials, query remaining quota and consume trial usage
- Moves the Copilot quota objects into the Consumption and Billing folder
- Adds the required DotNet aliases and an AI module dependency
- Adds System Application tests for trial state and quota behavior
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 7755 "Copilot Feature Trial"](../../objects/codeunit/7755.md), System Application: added
- [Codeunit 7754 "Copilot Feature Trial Impl."](../../objects/codeunit/7754.md), System Application: added
- [Codeunit 7785 "Copilot Quota"](../../objects/codeunit/7785.md), System Application: renamed
- [Codeunit 7786 "Copilot Quota Impl."](../../objects/codeunit/7786.md), System Application: renamed
- [Enum 7785 "Copilot Quota Usage Type"](../../objects/enum/7785.md), System Application: renamed
- `src/System Application/App/DotNet Aliases/src/dotnet.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#653140
- Labels: AL: System Application, Team: Integrations
- Systems: copilot
- From the description: "Add a public Copilot feature trial interface so applications can start trials, query remaining quota, and consume trial usage."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
