---
id: object/codeunit/8755
type: object
title: Codeunit 8755 "DA Ext. Storage Sync Worker"
summary: Codeunit 8755 "DA Ext. Storage Sync Worker" in External Storage - Document Attachments (Microsoft.ExternalStorage.DocumentAttachments). 6 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - external storage - document attachments
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-11-25T00:57:14.902Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 871e896af8e6c66588b352091881b830e84e4d667ce8160cd970208f0579e7b6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/e646fc169eb3bb7b1947b2089ed943d91dec46b0/src/Apps/W1/External%20Storage%20-%20Document%20Attachments/app/src/AutomaticSync/DAExtStorageSyncWorker.Codeunit.al
    title: src/Apps/W1/External Storage - Document Attachments/app/src/AutomaticSync/DAExtStorageSyncWorker.Codeunit.al (releases/29.x)
    date: null
    commit: e646fc169eb3bb7b1947b2089ed943d91dec46b0
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11733
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/across-store-document-attachments-externally
      title: Store Document Attachments in External File Storage
      label: possibly related
      why: Page documents external storage for document attachments, which is the core feature this codeunit implements.
      by: model
object_type: codeunit
object_id: 8755
name: DA Ext. Storage Sync Worker
namespace: Microsoft.ExternalStorage.DocumentAttachments
app: External Storage - Document Attachments
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 7
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 1
  implements: 0
---

# Codeunit 8755 "DA Ext. Storage Sync Worker"

> Codeunit 8755 "DA Ext. Storage Sync Worker" in External Storage - Document Attachments (Microsoft.ExternalStorage.DocumentAttachments). 6 public procedures. Introduced in BC29, still in BC30.

External Storage - Document Attachments · Microsoft.ExternalStorage.DocumentAttachments · BC29-30 · [source at e646fc16](https://github.com/microsoft/BCApps/blob/e646fc169eb3bb7b1947b2089ed943d91dec46b0/src/Apps/W1/External%20Storage%20-%20Document%20Attachments/app/src/AutomaticSync/DAExtStorageSyncWorker.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| TableNo | Document Attachment |

## Procedures

- `SetStep(NewStep: Option Upload,Download,DeleteInternal,RetireExternalReference)` (internal)
- `GetResult(): Boolean` (internal)
- `GetFailureReason(): Text` (internal)
- `GetTelemetryErrorText(): Text` (internal)
- `GetTelemetryErrorCallStack(): Text` (internal)
- `GetLastCreatedExternalFilePath(): Text[2048]` (internal)

Plus 1 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 1173 "Document Attachment"](../table/1173.md)

## Calls

From the extracted call graph of BC29 (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 8751 "DA External Storage Impl."](../codeunit/8751.md) (6 calls: `GetLastCreatedExternalFilePath → GetLastCreatedExternalFilePath`, `OnRun → CanLogLastFailureReasonToTelemetry`, `OnRun → DeleteFromInternalStorage`, …)

## Called by

- [Report 8752 "DA External Storage Sync"](../report/8752.md) (7 calls: `RunSyncWorker → (object)`, `RunSyncWorker → GetFailureReason`, `RunSyncWorker → GetLastCreatedExternalFilePath`, …)

## Recent changes

- 2026-10-09 [#11733 Fix external storage migration for unsafe attachment filenames](../../changes/bcapps/11733.md) (main, BC30, fix, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Store Document Attachments in External File Storage](https://learn.microsoft.com/dynamics365/business-central/across-store-document-attachments-externally) — possibly related: Page documents external storage for document attachments, which is the core feature this codeunit implements. (model-linked)

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 BC29 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: "DA Ext. Storage Sync Worker")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
