Codeunit 7774 Copilot Capability Impl

System Application, System.AI

src/System Application/App/AI/src/Copilot/CopilotCapabilityImpl.Codeunit.al24 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

RegisterCapability line 76

  1. 80callsIsCapabilityRegistered
  2. 96writesTable 7775 Copilot Settings Insert
  3. 99callsAddTelemetryDimensions
  4. 100callsAddStatusAndBillingTypeTelemetryDimension
  5. 101callsCodeunit 8711 Telemetry LogMessage

SetCopilotCapability line 104

  1. 113callsIsCapabilityRegistered
  2. 115callsCodeunit 43 Language GetDefaultApplicationLanguageId
  3. 121callsCodeunit 8703 Feature Telemetry LogError
  4. 133callsCodeunit 7775 Copilot Telemetry SetCopilotCapability

ModifyCapability line 143

  1. 148callsIsCapabilityRegistered
  2. 168writesTable 7775 Copilot Settings Modify(true)
  3. 171callsAddTelemetryDimensions
  4. 172callsAddStatusAndBillingTypeTelemetryDimension
  5. 173callsCodeunit 8711 Telemetry LogMessage

UnregisterCapability line 176

  1. 180callsIsCapabilityRegistered
  2. 186writesTable 7775 Copilot Settings Delete
  3. 189callsAddTelemetryDimensions
  4. 190callsCodeunit 8711 Telemetry LogMessage

IsCapabilityActive line 216

  1. 230callsCodeunit 7773 Copilot Capability OnGetRequiredPrivacyNotices
  2. 237callsCodeunit 1566 System Privacy Notice Reg. GetMicrosoftCopilotID
  3. 238callsCodeunit 1563 Privacy Notice GetPrivacyNoticeApprovalState

GetCapabilityName line 245

  1. 247callsCheckCapabilitySet
  2. 249callsCapabilityToEnumName

CheckEnabled line 278

  1. 280callsIsCapabilityEnabled

IsCapabilityEnabled line 289

  1. 293callsIsTenantAllowedToUseAOAI
  2. 300callsIsCapabilityActive
  3. 302callsPage 7771 Copilot Not Available SetCopilotCapability
  4. 309callsCheckPrivacyNoticeState

IsTenantAllowedToUseAOAI line 313, local

  1. 322callsCodeunit 457 Environment Information IsSaaSInfrastructure
  2. 329callsCodeunit 7772 Azure OpenAI Impl GetAzureOpenAICategory
  3. 330callsCodeunit 2200 Azure Key Vault GetAzureKeyVaultSecret
  4. 331callsCodeunit 8703 Feature Telemetry LogError
  5. 335callsCodeunit 433 Azure AD Tenant GetAadTenantId
  6. 336callsCodeunit 8703 Feature Telemetry LogError

CheckPrivacyNoticeState line 343, local

  1. 350callsCodeunit 1563 Privacy Notice GetPrivacyNoticeApprovalState
  2. 350callsCodeunit 7772 Azure OpenAI Impl GetAzureOpenAICategory
  3. 357callsPage 7771 Copilot Not Available SetCopilotCapability

AddTelemetryCustomDimensions line 368

  1. 374callsCodeunit 43 Language GetDefaultApplicationLanguageId

SendActivateTelemetry line 385

  1. 389callsAddTelemetryDimensions
  2. 390callsCodeunit 8711 Telemetry LogMessage

SendDeactivateTelemetry line 393

  1. 399callsAddTelemetryDimensions
  2. 402callsCodeunit 43 Language GetDefaultApplicationLanguageId
  3. 409callsCodeunit 8711 Telemetry LogMessage

AddStatusAndBillingTypeTelemetryDimension line 419

  1. 425callsCodeunit 43 Language GetDefaultApplicationLanguageId

AddTelemetryDimensions line 433

  1. 439callsCodeunit 43 Language GetDefaultApplicationLanguageId
  2. 441callsGetCopilotCategory

IsAdmin line 448

  1. 455callsCodeunit 9024 Azure AD Graph User IsUserDelegatedAdmin
  2. 455callsCodeunit 9016 Azure AD Plan IsPlanAssignedToUser
  3. 455callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
  4. 455callsCodeunit 9016 Azure AD Plan IsPlanAssignedToUser
  5. 455callsCodeunit 9027 Plan Ids GetBCAdminPlanId
  6. 455callsCodeunit 9016 Azure AD Plan IsPlanAssignedToUser
  7. 455callsCodeunit 9027 Plan Ids GetD365AdminPlanId
  8. 455callsCodeunit 9024 Azure AD Graph User IsUserDelegatedHelpdesk
  9. 455callsCodeunit 152 User Permissions IsSuper

GetDataMovementAllowed line 467

  1. 472callsCodeunit 1563 Privacy Notice GetPrivacyNoticeApprovalState
  2. 472callsCodeunit 7772 Azure OpenAI Impl GetAzureOpenAICategory

UpdateGuidedExperience line 482

  1. 487callsCodeunit 1990 Guided Experience CompleteAssistedSetup
  2. 489callsCodeunit 1990 Guided Experience ResetAssistedSetup

DeactivateCapability line 492

  1. 502callsPage 7772 Copilot Deactivate Capability SetCaption
  2. 508writesTable 7775 Copilot Settings Modify(true)
  3. 510callsCodeunit 7757 Copilot Notifications ShowCapabilityChange
  4. 511callsSendDeactivateTelemetry
  5. 511callsPage 7772 Copilot Deactivate Capability GetReason

GetCopilotCapabilityStatus line 516, local

  1. 522callsCodeunit 7771 Azure OpenAI IsEnabled

OpenCopilotCapabilities line 526, local

  1. 530runsPage 7775 Copilot AI Capabilities

GetCopilotCapabilityInfo line 535, local

  1. 545callsCodeunit 7771 Azure OpenAI IsEnabled

GetCopilotBillingType line 564

  1. 566callsCheckCapabilitySet

IsProductionEnvironment line 570

  1. 574callsCodeunit 457 Environment Information IsProduction