---
title: "Codeunit 2504 Extension Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/2504-extension-management/
type: codeunit
id: 2504
name: "Extension Management"
app: "System Application"
namespace: System.Apps
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/2504-extension-management/source/24/ https://jonas-paprotka.de/ref/codeunit/2504-extension-management/source/25/ https://jonas-paprotka.de/ref/codeunit/2504-extension-management/source/26/ https://jonas-paprotka.de/ref/codeunit/2504-extension-management/source/27/ https://jonas-paprotka.de/ref/codeunit/2504-extension-management/source/28/ https://jonas-paprotka.de/ref/codeunit/2504-extension-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 2504 Extension Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/2504-extension-management/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.Apps |
| Versions | 17-28 |
| Source file | Extension Management/src/ExtensionManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InstallExtension | (Guid, Integer, Boolean) | Boolean | public | 17-28 | - | - |
| UninstallExtension | (Guid, Boolean) | Boolean | public | 17-28 | - | - |
| UploadExtension | (InStream, Integer) | - | public | 17-28 | - | - |
| DeployExtension | (Guid, Integer, Boolean) | - | public | 17-28 | - | - |
| UnpublishExtension | (Guid) | Boolean | public | 17-28 | - | - |
| DownloadExtensionSource | (Guid) | Boolean | public | 17-28 | - | - |
| GetExtensionSource | (Guid, var Codeunit Temp Blob) | Boolean | public | 17-28 | - | - |
| IsInstalledByPackageId | (Guid) | Boolean | public | 17-28 | - | - |
| IsInstalledByAppId | (Guid) | Boolean | public | 17-28 | - | - |
| GetAllExtensionDeploymentStatusEntries | (var Record NAV App Tenant Operation) | - | public | 17-22 | Pending 17.0 | Required parameter is not accessible for Cloud development |
| GetAllExtensionDeploymentStatusEntries | (var Record Extension Deployment Status) | - | public | 17-28 | - | - |
| GetDeployOperationInfo | (Guid, var Text, var Text, var Text, var Text, Text) | - | public | 17-28 | - | - |
| RefreshStatus | (Guid) | - | public | 17-28 | - | - |
| ConfigureExtensionHttpClientRequestsAllowance | (Text, Boolean) | Boolean | public | 17-28 | - | - |
| GetLatestVersionPackageIdByAppId | (Guid) | Guid | public | 17-28 | - | - |
| GetCurrentlyInstalledVersionPackageIdByAppId | (Guid) | Guid | public | 17-28 | - | - |
| GetSpecificVersionPackageIdByAppId | (Guid, Text, Integer, Integer, Integer, Integer) | Guid | public | 17-28 | - | - |
| GetExtensionLogo | (Guid, var Codeunit Temp Blob) | - | public | 17-28 | - | - |
| UploadExtensionToVersion | (InStream, Integer, Enum Extension Deploy To) | - | public | 17-28 | - | - |
| GetMarketplaceEmbeddedUrl | () | Text | public | 17-22 | Pending 17.0 | Replaced by "Extension Marketplace".GetMarketplaceEmbeddedUrl procedure. |
| GetMessageType | (DotNet JObject) | Text | public | 17-22 | Pending 17.0 | Replaced by "Extension Marketplace".GetMessageType procedure. |
| GetApplicationIdFromData | (DotNet JObject) | Text | public | 17-22 | Pending 17.0 | Replaced by "Extension Marketplace".GetApplicationIdFromData procedure. |
| MapMarketplaceIdToPackageId | (Text) | Guid | public | 17-22 | Pending 17.0 | Replaced by "Extension Marketplace".MapMarketplaceIdToPackageId procedure. |
| GetTelementryUrlFromData | (DotNet JObject) | Text | public | 17-22 | Pending 17.0 | Replaced by "Extension Marketplace".GetTelementryUrlFromData procedure. |
| MapMarketplaceIdToAppId | (Text) | Guid | public | 17-22 | Pending 17.0 | Replaced by "Extension Marketplace".MapMarketplaceIdToAppId procedure. |
| UninstallExtensionAndDeleteExtensionData | (Guid, Boolean) | Boolean | public | 18-28 | - | - |
| UploadExtensionToVersion | (InStream, Integer, Enum Extension Deploy To, Enum Extension Sync Mode) | - | public | 19-28 | - | - |
| GetAppName | (Guid) | Text | public | 19-28 | - | - |
| GetDeploymentDetailedStatusMessage | (Guid) | Text | public | 20-28 | - | - |
| GetDeploymentDetailedStatusMessageAsStream | (Guid, OutStream) | - | public | 20-28 | - | - |
| InstallMarketplaceExtension | (Guid) | - | public | 21-28 | - | - |

## Source

Symbols: Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 78c4acf0d64a8eee157ea80164fa8fc2acffc9eb.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at 1749020b4c9445a43e4f7f540e89b7fa76ec25fd.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 740f59156b249f8ed7cba2e28423f03ae7b07233.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
