---
id: object/codeunit/7774
type: object
title: Codeunit 7774 "Copilot Capability Impl"
summary: Codeunit 7774 "Copilot Capability Impl" in System Application (System.AI). 34 public procedures, 3 event subscribers. Present since at least BC23, still in BC30, changed in BC24-27, BC29.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 068241814123007715fb1c85da30e95856073ddd414986ab3a1f64219cb06dff
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al
    title: src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11204
    - change/bcapps/9206
object_type: codeunit
object_id: 7774
name: Copilot Capability Impl
namespace: System.AI
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 39
  events: 0
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 17
  called_by: 11
  implements: 0
---

# Codeunit 7774 "Copilot Capability Impl"

> Codeunit 7774 "Copilot Capability Impl" in System Application (System.AI). 34 public procedures, 3 event subscribers. Present since at least BC23, still in BC30, changed in BC24-27, BC29.

System Application · System.AI · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "Copilot Settings" = rimd |

## Event subscriptions

- GetCopilotCapabilityStatus subscribes to Codeunit "System Action Triggers" GetCopilotCapabilityStatus
- OpenCopilotCapabilities subscribes to Codeunit "Navigation Bar Subscribers" OnBeforeDefaultOpenCopilotCapabilities
- GetCopilotCapabilityInfo subscribes to Codeunit "System Action Triggers" GetCopilotCapabilityInfo

## Procedures

- `RegisterCapability(CopilotCapability: Enum "Copilot Capability"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)`
- `RegisterCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)`
- `RegisterCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; CopilotBillingType: Enum "Copilot Billing Type"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)`
- `RegisterCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; CopilotBillingType: Enum "Copilot Billing Type"; AzureAIServiceType: Enum "Azure AI Service Type"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)`
- `SetCopilotCapability(Capability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo; AIServiceType: Enum "Azure AI Service Type")`
- `ModifyCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)`
- `ModifyCapability(CopilotCapability: Enum "Copilot Capability"; CopilotAvailability: Enum "Copilot Availability"; CopilotBillingType: Enum "Copilot Billing Type"; LearnMoreUrl: Text[2048]; CallerModuleInfo: ModuleInfo)`
- `UnregisterCapability(CopilotCapability: Enum "Copilot Capability"; var CallerModuleInfo: ModuleInfo)`
- `IsCapabilityRegistered(CopilotCapability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo): Boolean`
- `IsCapabilityRegistered(CopilotCapability: Enum "Copilot Capability"; AppId: Guid): Boolean`
- `IsCapabilityActive(CallerModuleInfo: ModuleInfo): Boolean`
- `IsCapabilityActive(CopilotCapability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo): Boolean`
- `IsCapabilityActive(CopilotCapability: Enum "Copilot Capability"; AppId: Guid): Boolean`
- `GetCapabilityName(): Text`
- `CapabilityToEnumName(CopilotCapability: Enum "Copilot Capability"): Text`
- `CheckCapabilitySet()`
- `CheckCapabilityServiceType(ServiceType: Enum "Azure AI Service Type")`
- `CheckEnabled(CallerModuleInfo: ModuleInfo)`
- `IsCapabilityEnabled(Capability: Enum "Copilot Capability"; CallerModuleInfo: ModuleInfo): Boolean`
- `IsCapabilityEnabled(Capability: Enum "Copilot Capability"; Silent: Boolean; CallerModuleInfo: ModuleInfo): Boolean`
- `AddTelemetryCustomDimensions(var CustomDimensions: Dictionary of [Text, Text]; CallerModuleInfo: ModuleInfo)`
- `SendActivateTelemetry(CopilotCapability: Enum "Copilot Capability"; AppId: Guid)`
- `SendDeactivateTelemetry(CopilotCapability: Enum "Copilot Capability"; AppId: Guid; Reason: Option; FeedbackEnabled: Boolean)`
- `GetCopilotCategory(): Code[50]`
- `AddStatusAndBillingTypeTelemetryDimension(CopilotStatus: Enum "Copilot Status"; CopilotBillingType: Enum "Copilot Billing Type"; var CustomDimensions: Dictionary of [Text, Text])`
- `AddTelemetryDimensions(CopilotCapability: Enum "Copilot Capability"; AppId: Guid; var CustomDimensions: Dictionary of [Text, Text])`
- `IsAdmin(): Boolean`
- `CheckGeoAndEUDB(var WithinGeo: Boolean; var WithinEUDB: Boolean)`
- `GetDataMovementAllowed(var AllowDataMovement: Boolean)`
- `UpdateGuidedExperience(AllowDataMovement: Boolean)`
- `DeactivateCapability(var CopilotSettingsLocal: Record "Copilot Settings")`
- `IsPublisherMicrosoft(CallerModuleInfo: ModuleInfo): Boolean`
- `GetCopilotBillingType(): Enum "Copilot Billing Type"`
- `IsProductionEnvironment(): Boolean`

Plus 2 local procedures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 43 "Language"](../codeunit/43.md) (5 calls: `AddStatusAndBillingTypeTelemetryDimension → GetDefaultApplicationLanguageId`, `AddTelemetryCustomDimensions → GetDefaultApplicationLanguageId`, `AddTelemetryDimensions → GetDefaultApplicationLanguageId`, …)
- [Codeunit 8711 "Telemetry"](../codeunit/8711.md) (4 calls: `ModifyCapability → LogMessage`, `SendActivateTelemetry → LogMessage`, `SendDeactivateTelemetry → LogMessage`, …)
- [Codeunit 7772 "Azure OpenAI Impl"](../codeunit/7772.md) (3 calls: `CheckPrivacyNoticeState → GetAzureOpenAICategory`, `GetDataMovementAllowed → GetAzureOpenAICategory`, `IsTenantAllowedToUseAOAI → GetAzureOpenAICategory`)
- [Codeunit 9027 "Plan Ids"](../codeunit/9027.md) (3 calls: `IsAdmin → GetBCAdminPlanId`, `IsAdmin → GetD365AdminPlanId`, `IsAdmin → GetGlobalAdminPlanId`)
- [Codeunit 1563 "Privacy Notice"](../codeunit/1563.md) (2 calls: `CheckPrivacyNoticeState → GetPrivacyNoticeApprovalState`, `GetDataMovementAllowed → GetPrivacyNoticeApprovalState`)
- [Codeunit 1990 "Guided Experience"](../codeunit/1990.md) (2 calls: `UpdateGuidedExperience → CompleteAssistedSetup`, `UpdateGuidedExperience → ResetAssistedSetup`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (2 calls: `IsProductionEnvironment → IsProduction`, `IsTenantAllowedToUseAOAI → IsSaaSInfrastructure`)
- [Codeunit 7771 "Azure OpenAI"](../codeunit/7771.md) (2 calls: `GetCopilotCapabilityInfo → IsEnabled`, `GetCopilotCapabilityStatus → IsEnabled`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (2 calls: `IsTenantAllowedToUseAOAI → LogError`, `SetCopilotCapability → LogError`)
- [Codeunit 9024 "Azure AD Graph User"](../codeunit/9024.md) (2 calls: `IsAdmin → IsUserDelegatedAdmin`, `IsAdmin → IsUserDelegatedHelpdesk`)
- [Codeunit 152 "User Permissions"](../codeunit/152.md) (1 call: `IsAdmin → IsSuper`)
- [Codeunit 2200 "Azure Key Vault"](../codeunit/2200.md) (1 call: `IsTenantAllowedToUseAOAI → GetAzureKeyVaultSecret`)
- [Codeunit 433 "Azure AD Tenant"](../codeunit/433.md) (1 call: `IsTenantAllowedToUseAOAI → GetAadTenantId`)
- [Codeunit 7757 "Copilot Notifications"](../codeunit/7757.md) (1 call: `DeactivateCapability → ShowCapabilityChange`)
- [Codeunit 7775 "Copilot Telemetry"](../codeunit/7775.md) (1 call: `SetCopilotCapability → SetCopilotCapability`)
- [Codeunit 9016 "Azure AD Plan"](../codeunit/9016.md) (1 call: `IsAdmin → IsPlanAssignedToUser`)
- [Page 7775 "Copilot AI Capabilities"](../page/7775.md) (1 call: `OpenCopilotCapabilities → (object)`)

## Called by

- [Codeunit 7772 "Azure OpenAI Impl"](../codeunit/7772.md) (15 calls: `GenerateEmbeddings → AddTelemetryCustomDimensions`, `GenerateEmbeddings → CheckCapabilitySet`, `GenerateEmbeddings → CheckEnabled`, …)
- [Codeunit 7779 "Azure DI Impl."](../codeunit/7779.md) (11 calls: `AnalyzeInvoice → AddTelemetryCustomDimensions`, `AnalyzeInvoice → CheckCapabilityServiceType`, `AnalyzeInvoice → CheckCapabilitySet`, …)
- [Codeunit 7786 "Copilot Quota Impl."](../codeunit/7786.md) (7 calls: `CanConsume → GetCopilotCategory`, `LogAgentUserAIConsumption → CapabilityToEnumName`, `LogAgentUserAIConsumption → GetCopilotCategory`, …)
- [Codeunit 7773 "Copilot Capability"](../codeunit/7773.md) (5 calls: `IsCapabilityActive → IsCapabilityActive`, `IsCapabilityRegistered → IsCapabilityRegistered`, `ModifyCapability → ModifyCapability`, …)
- [Codeunit 7775 "Copilot Telemetry"](../codeunit/7775.md) (5 calls: `SendCopilotActionInvokedTelemetry → AddTelemetryDimensions`, `SendCopilotActionInvokedTelemetry → GetCopilotCategory`, `SendCopilotDataMovementUpdatedTelemetry → GetDataMovementAllowed`, …)
- [Page 7775 "Copilot AI Capabilities"](../page/7775.md) (5 calls: `OnOpenPage → CheckGeoAndEUDB`, `OnOpenPage → GetDataMovementAllowed`, `OnOpenPage → IsAdmin`, …)
- [Codeunit 7757 "Copilot Notifications"](../codeunit/7757.md) (2 calls: `ShowAIQuotaNearlyUsedUpLearnMore → IsAdmin`, `ShowAIQuotaUsedUpLearnMore → IsAdmin`)
- [Codeunit 7784 "AOAI User Message Impl"](../codeunit/7784.md) (2 calls: `AddFilePart → IsPublisherMicrosoft`, `AddTextPart → IsPublisherMicrosoft`)
- [Page 7770 "Copilot Cap. Early Preview"](../page/7770.md) (1 call: `SetActionsEnabled → IsAdmin`)
- [Page 7773 "Copilot Capabilities Preview"](../page/7773.md) (1 call: `SetActionsEnabled → IsAdmin`)
- [Page 7774 "Copilot Capabilities GA"](../page/7774.md) (1 call: `SetActionsEnabled → IsAdmin`)

## Recent changes

- 2026-09-09 [#11204 Chat v2 privacy notice behavior changed to not auto agree for Eval companies](../../changes/bcapps/11204.md) (main, BC30, fix)
- 2026-07-23 [#9206 Added new privacy policy for BizChat depending on Microsoft Copilot 365 with EEA environments behavior changes](../../changes/bcapps/9206.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-27, BC29

## Deprecations

- procedure ModifyCapability: guarded (#if not CLEAN27)
- procedure RegisterCapability: guarded (#if not CLEAN27)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Copilot Capability Impl")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
