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

# Codeunit 48525 "Fabric Platform Http Client"

> Codeunit 48525 "Fabric Platform Http Client" in MicrosoftFabricMirroring (Microsoft.FabricExport). 3 public procedures, 1 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/FabricPlatformHttpClient.Codeunit.al) · facts from BC30

## Properties

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

## Events published

- `OnBeforeGetHttpClientHandler(var HttpClientHandler: Interface "Http Client Handler"; var IsHandled: Boolean)` (internal): Raised before the HTTP client handler is created. Bind a subscriber to inject a mock handler in tests.

## Procedures

- `CreateClientWithBearer(AccessToken: SecretText): Codeunit "Rest Client"` (internal)
- `BuildJsonRequest(Method: Text; Url: Text; JsonBody: Text): Codeunit "Http Request Message"` (internal)
- `TrySend(var RestClientParam: Codeunit "Rest Client"; var HttpRequestMessage: Codeunit "Http Request Message"; var HttpResponseMessage: Codeunit "Http Response Message")` (internal)

Plus 1 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 2350 "Rest Client"](../codeunit/2350.md) (1 call: `TrySend → Send`)
- [Codeunit 2354 "Http Content"](../codeunit/2354.md) (1 call: `BuildJsonRequest → Create`)

## Called by

- [Codeunit 48526 "Fabric Platform Admin Client"](../codeunit/48526.md) (9 calls: `AddServicePrincipalToWorkspace → BuildJsonRequest`, `AddServicePrincipalToWorkspace → CreateClientWithBearer`, `AddServicePrincipalToWorkspace → TrySend`, …)

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