---
id: object/codeunit/48526
type: object
title: Codeunit 48526 "Fabric Platform Admin Client"
summary: Codeunit 48526 "Fabric Platform Admin Client" in MicrosoftFabricMirroring (Microsoft.FabricExport). 3 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: ad3889a0b9cdbdcb0b2859e597655d39d38c166f1cc66887409b14100e298b33
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Apps/W1/MicrosoftFabricMirroring/app/src/platform/FabricPlatformAdminClient.Codeunit.al
    title: src/Apps/W1/MicrosoftFabricMirroring/app/src/platform/FabricPlatformAdminClient.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: 48526
name: Fabric Platform Admin Client
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: 7
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 1
  implements: 0
---

# Codeunit 48526 "Fabric Platform Admin Client"

> Codeunit 48526 "Fabric Platform Admin Client" in MicrosoftFabricMirroring (Microsoft.FabricExport). 3 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/platform/FabricPlatformAdminClient.Codeunit.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Procedures

- `GetWorkspaces(var TempBuffer: Record "Name/Value Buffer" temporary)`: Fills TempBuffer with Fabric workspaces accessible to the delegated token (Name = display name, Value = workspace GUID).
- `GetMirroredDatabases(WorkspaceId: Text; var TempBuffer: Record "Name/Value Buffer" temporary)`: Fills TempBuffer with Open Mirroring databases in WorkspaceId (Name = display name, Value = mirrored database GUID).
- `AddServicePrincipalToWorkspace(WorkspaceId: Text; PrincipalId: Text)`

Plus 4 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 48525 "Fabric Platform Http Client"](../codeunit/48525.md) (9 calls: `AddServicePrincipalToWorkspace → BuildJsonRequest`, `AddServicePrincipalToWorkspace → CreateClientWithBearer`, `AddServicePrincipalToWorkspace → TrySend`, …)
- [Codeunit 2356 "Http Response Message"](../codeunit/2356.md) (8 calls: `AddServicePrincipalToWorkspace → GetHttpStatusCode`, `AddServicePrincipalToWorkspace → GetIsSuccessStatusCode`, `GetMirroredDatabases → GetContent`, …)
- [Codeunit 48524 "Fabric Platform Credential Mgt"](../codeunit/48524.md) (3 calls: `AddServicePrincipalToWorkspace → AcquireFabricApiTokenDelegated`, `GetMirroredDatabases → AcquireFabricApiTokenDelegated`, `GetWorkspaces → AcquireFabricApiTokenDelegated`)
- [Codeunit 48529 "Fabric Privacy Notice"](../codeunit/48529.md) (3 calls: `AddServicePrincipalToWorkspace → EnsureApproved`, `GetMirroredDatabases → EnsureApproved`, `GetWorkspaces → EnsureApproved`)
- [Codeunit 48527 "Fabric Platform Telemetry"](../codeunit/48527.md) (1 call: `GetMirroredDatabases → LogFailureEvent`)

## Called by

- [Codeunit 48520 "Fabric Platform Mgt"](../codeunit/48520.md) (1 call: `TestConnection → GetWorkspaces`)

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