---
id: object/codeunit/48521
type: object
title: Codeunit 48521 "Fabric Config Package Mgt"
summary: Codeunit 48521 "Fabric Config Package Mgt" in MicrosoftFabricMirroring (Microsoft.FabricExport). 7 public procedures. Introduced in BC30.
tier: official
language: en
tags:
  - codeunit
  - microsoftfabricmirroring
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-07T23:32:29.863Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 65dfe67e86b2a3d8be64b04db051dfbb443c1f12d4f9669163404e4dc6da7489
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Apps/W1/MicrosoftFabricMirroring/app/src/configpackage/FabricConfigPackageMgt.Codeunit.al
    title: src/Apps/W1/MicrosoftFabricMirroring/app/src/configpackage/FabricConfigPackageMgt.Codeunit.al (main)
    date: null
    commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11314
object_type: codeunit
object_id: 48521
name: Fabric Config Package Mgt
namespace: Microsoft.FabricExport
app: MicrosoftFabricMirroring
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 13
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 4
  implements: 0
---

# Codeunit 48521 "Fabric Config Package Mgt"

> Codeunit 48521 "Fabric Config Package Mgt" in MicrosoftFabricMirroring (Microsoft.FabricExport). 7 public procedures. Introduced in BC30.

MicrosoftFabricMirroring · Microsoft.FabricExport · BC30 · [source at f18567dc](https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Apps/W1/MicrosoftFabricMirroring/app/src/configpackage/FabricConfigPackageMgt.Codeunit.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Tenant Fabric Tables" = RIMD |

## Procedures

- `Activate(var Pkg: Record "Fabric Config Package")` (internal)
- `Deactivate(var Pkg: Record "Fabric Config Package")` (internal)
- `Reapply(var Pkg: Record "Fabric Config Package")` (internal)
- `IsReapplyAvailable(var Pkg: Record "Fabric Config Package"): Boolean` (internal)
- `RegisterPackage(PackageCode: Code[20]; Description: Text[100]; Version: Code[10]; TableIds: List of [Integer])`: Register a configuration package with a list of table IDs. Safe to call on every install/upgrade — skips if the package already exists at this version. Per Company is derived automatically from Table Metadata.DataPerCompany.
- `ExportPackageToStream(var Pkg: Record "Fabric Config Package"; var OutStream: OutStream)` (internal)
- `ImportPackageFromStream(var InStream: InStream)` (internal)

Plus 6 local procedures.

## Calls

From the extracted call graph of BC30 (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 48520 "Fabric Platform Mgt"](../codeunit/48520.md) (9 calls: `Activate → ClaimTable`, `Activate → EnsureCapacity`, `Deactivate → IsClaimedByOthers`, …)
- [Codeunit 48527 "Fabric Platform Telemetry"](../codeunit/48527.md) (4 calls: `Activate → LogAudit`, `Deactivate → LogAudit`, `LogReapplySkipped → LogFailureEvent`, …)

## Called by

- [Page 48504 "Fabric API Config Packages"](../page/48504.md) (3 calls: `Activate → Activate`, `Deactivate → Deactivate`, `Reapply → Reapply`)
- [Codeunit 48522 "Fabric Install"](../codeunit/48522.md) (1 call: `EnsureMsStdPackage → RegisterPackage`)
- [Page 48513 "Fabric Config Package Card"](../page/48513.md) (1 call: `OnAfterGetRecord → IsReapplyAvailable`)
- [Page 48515 "Fabric Config Packages"](../page/48515.md) (1 call: `OnAfterGetRecord → IsReapplyAvailable`)

## Recent changes

- 2026-10-01 [#11314 [Project Arches] Microsoft Fabric Export Setup](../../changes/bcapps/11314.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

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 BC30 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: "Fabric Config Package Mgt")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
