---
id: object/codeunit/2501
type: object
title: Codeunit 2501 "Extension Marketplace"
summary: Codeunit 2501 "Extension Marketplace" in System Application (System.Apps). 16 public procedures, 1 events, 1 event subscribers. Present since at least BC23, still in BC30, changed in BC25, BC28.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "28"
  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: 33e7bae19eca11d6984bbf0c741cf6552aa79e7a77091a2e464480cf65b4feed
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Extension%20Management/src/ExtensionMarketplace.Codeunit.al
    title: src/System Application/App/Extension Management/src/ExtensionMarketplace.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/12194
    - change/bcapps/11065
object_type: codeunit
object_id: 2501
name: Extension Marketplace
namespace: System.Apps
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 28
  events: 1
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 6
  called_by: 6
  implements: 0
---

# Codeunit 2501 "Extension Marketplace"

> Codeunit 2501 "Extension Marketplace" in System Application (System.Apps). 16 public procedures, 1 events, 1 event subscribers. Present since at least BC23, still in BC30, changed in BC25, BC28.

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

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "Extension Pending Setup" = rimd, tabledata "Published Application" = r |

## Events published

- `OnOverrideUrl(var Url: Text)` (internal)

## Event subscriptions

- InvokeExtensionInstallation subscribes to Codeunit "System Action Triggers" InvokeExtensionInstallation

## Procedures

- `GetTelementryUrlFromData(JObject: DotNet JObject): Text`
- `MapMarketplaceIdToAppId(MarketplaceApplicationId: Text): Guid`
- `MakeMarketplaceTelemetryCallback(ResponseURL: Text; InstallationResult: Option UserNotAuthorized,DeploymentFailedDueToPackage,DeploymentFailed,Successful,UserCancel,UserTimeOut)`
- `InstallMarketplaceExtension(ApplicationId: Guid; ResponseURL: Text; lcid: Integer; PreviewKey: Text)`
- `InstallAppsourceExtension(MarketplaceApplicationId: Text; TelemetryURL: Text)`
- `InstallAppsourceExtension(AppId: Guid; TelemetryURL: Text)`
- `InstallAppsourceExtensionWithRefreshSession(MarketplaceApplicationID: Text; TelemetryURL: Text)`
- `InstallAppsourceExtensionWithRefreshSession(AppId: Guid; TelemetryURL: Text)`
- `InstallExtension(MarketplaceApplicationID: Text; ResponseURL: Text)`
- `IsMarketplaceEnabled(): Boolean`
- `InitializeHTTPRequest(URL: Text)`
- `RunSetupForExtension(AppId: Guid)`
- `RunPendingSetup()`
- `SetupForExtensionExists(AppId: Guid): Boolean`
- `GetMessageType(JObject: DotNet JObject): Text`
- `GetApplicationIdFromData(JObject: DotNet JObject): Text`

Plus 10 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 2500 "Extension Installation Impl"](../codeunit/2500.md) (4 calls: `InstallApp → InstallExtensionWithConfirmDialog`, `InstallAppsourceExtensionWithRefreshSession → CheckPermissions`, `InstallAppsourceExtensionWithRefreshSession → IsInstalledByAppId`, …)
- [Codeunit 1990 "Guided Experience"](../codeunit/1990.md) (3 calls: `RunSetupForExtension → RunExtensionSetup`, `RunSetupForExtension → SetupForExtensionExists`, `SetupForExtensionExists → SetupForExtensionExists`)
- [Codeunit 2503 "Extension Operation Impl"](../codeunit/2503.md) (2 calls: `InstallMarketplaceExtension → DeployExtension`, `InstallMarketplaceExtension → GetLatestVersionPackageIdByAppId`)
- [Codeunit 2200 "Azure Key Vault"](../codeunit/2200.md) (1 call: `IsMarketplaceEnabled → GetAzureKeyVaultSecret`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (1 call: `TryMakeMarketplaceTelemetryCallback → CreateInStream`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (1 call: `InitializeHTTPRequest → IsSaaS`)

## Called by

- [Codeunit 2503 "Extension Operation Impl"](../codeunit/2503.md) (1 call: `DeployExtension → RunSetupForExtension`)
- [Codeunit 2504 "Extension Management"](../codeunit/2504.md) (1 call: `InstallMarketplaceExtension → InstallAppsourceExtensionWithRefreshSession`)
- [Page 2500 "Extension Management"](../page/2500.md) (1 call: `DetermineEnvironmentConfigurations → IsMarketplaceEnabled`)
- [Page 2503 "Extension Installation"](../page/2503.md) (1 call: `OnOpenPage → InstallMarketplaceExtension`)
- [Page 2512 "Extension Setup Launcher"](../page/2512.md) (1 call: `OnOpenPage → RunPendingSetup`)
- [Page 2514 "Delete Orphaned Extension Data"](../page/2514.md) (1 call: `DetermineEnvironmentConfigurations → IsMarketplaceEnabled`)

## Recent changes

- 2026-10-02 [#12194 Harden web request helpers: opt-in default credentials](../../changes/bcapps/12194.md) (main, BC30, breaking)
- 2026-09-07 [#11065 Open installation status after AppSource install failure](../../changes/bcapps/11065.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25, BC28

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: "Extension Marketplace")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
