---
id: object/codeunit/48520
type: object
title: Codeunit 48520 "Fabric Platform Mgt"
summary: Codeunit 48520 "Fabric Platform Mgt" in MicrosoftFabricMirroring (Microsoft.FabricExport). 18 public procedures, 5 events. 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: 2bb82b454fd3d042603e92d853159792d93f14b15d681717db50f7d43d3e2cf4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Apps/W1/MicrosoftFabricMirroring/app/src/platform/FabricPlatformMgt.Codeunit.al
    title: src/Apps/W1/MicrosoftFabricMirroring/app/src/platform/FabricPlatformMgt.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: 48520
name: Fabric Platform 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: 34
  events: 5
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 6
  implements: 0
---

# Codeunit 48520 "Fabric Platform Mgt"

> Codeunit 48520 "Fabric Platform Mgt" in MicrosoftFabricMirroring (Microsoft.FabricExport). 18 public procedures, 5 events. Introduced in BC30.

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

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Fabric Table Claim" = RIMD, tabledata "Tenant Fabric Companies" = RIMD, tabledata "Tenant Fabric Tables" = RIMD |

## Events published

- `OnBeforeEnableExport(var IsHandled: Boolean)` (integration)
- `OnBeforeStartExport(var IsHandled: Boolean)` (integration)
- `OnBeforeStopExport(var IsHandled: Boolean)` (integration)
- `OnBeforeDisableExport(var IsHandled: Boolean)` (integration)
- `OnBeforeTestConnection(var IsHandled: Boolean; var IsSuccess: Boolean)` (integration)

## Procedures

- `MaxTableCount(): Integer` (internal)
- `EnsureSetup(var TenantFabricSetup: Record "Tenant Fabric Setup")` (internal)
- `HasSetup(): Boolean` (internal)
- `SelectedTableCount(): Integer` (internal)
- `CheckCanAddTable()` (internal)
- `EnsureCapacity(AdditionalCount: Integer)` (internal)
- `AddTable(TableId: Integer)` (internal)
- `RemoveTable(TableId: Integer)` (internal)
- `AddTables(var AllObjWithCaption: Record AllObjWithCaption)` (internal)
- `ClaimTable(TableId: Integer; SourceType: Enum "Fabric Table Claim Source"; PackageCode: Code[20])` (internal)
- `ReleaseTable(TableId: Integer; SourceType: Enum "Fabric Table Claim Source"; PackageCode: Code[20])` (internal)
- `IsClaimedByOthers(TableId: Integer; SourceType: Enum "Fabric Table Claim Source"; PackageCode: Code[20]): Boolean` (internal)
- `AddCompany(CompanyName: Text[30])` (internal)
- `EnableExport()` (internal)
- `StartExport()` (internal)
- `StopExport()` (internal)
- `DisableExport()` (internal)
- `TestConnection()` (internal)

Plus 11 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 48527 "Fabric Platform Telemetry"](../codeunit/48527.md) (9 calls: `DisableExport → LogAudit`, `DisableExport → LogEvent`, `EnableExport → LogAudit`, …)
- [Codeunit 48524 "Fabric Platform Credential Mgt"](../codeunit/48524.md) (5 calls: `CheckEnableNotOnCooldown → GetLastEnableRequestedAt`, `EnableExport → GetClientId`, `EnableExport → GetClientSecret`, …)
- [Codeunit 48529 "Fabric Privacy Notice"](../codeunit/48529.md) (2 calls: `EnableExport → EnsureApproved`, `StartExport → EnsureApproved`)
- [Codeunit 48526 "Fabric Platform Admin Client"](../codeunit/48526.md) (1 call: `TestConnection → GetWorkspaces`)

## Called by

- [Codeunit 48521 "Fabric Config Package Mgt"](../codeunit/48521.md) (9 calls: `Activate → ClaimTable`, `Activate → EnsureCapacity`, `Deactivate → IsClaimedByOthers`, …)
- [Page 48507 "Fabric API Setup"](../page/48507.md) (5 calls: `DisableExport → DisableExport`, `EnableExport → EnableExport`, `OnOpenPage → EnsureSetup`, …)
- [Page 48502 "Fabric API Tables"](../page/48502.md) (1 call: `AddTable → AddTable`)
- [Page 48503 "Fabric API Companies"](../page/48503.md) (1 call: `AddCompany → AddCompany`)
- [Page 48511 "Fabric Platform Setup"](../page/48511.md) (1 call: `OnOpenPage → EnsureSetup`)
- [Page 48519 "Fabric Platform Setup Wizard"](../page/48519.md) (1 call: `OnOpenPage → EnsureSetup`)

## 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 Platform Mgt")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
