---
id: object/codeunit/4580
type: object
title: Codeunit 4580 "Ext. SharePoint Connector Impl"
summary: Codeunit 4580 "Ext. SharePoint Connector Impl" in External File Storage - SharePoint Connector (System.ExternalFileStorage). 20 public procedures, 1 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - external file storage - sharepoint connector
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 97dd7ee6cf26ca5d4487cfefa9b63a6611c9e9745de6190ae345c939754dd95e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/External%20File%20Storage%20-%20SharePoint%20Connector/app/src/ExtSharePointConnectorImpl.Codeunit.al
    title: src/Apps/W1/External File Storage - SharePoint Connector/app/src/ExtSharePointConnectorImpl.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/5833
object_type: codeunit
object_id: 4580
name: Ext. SharePoint Connector Impl
namespace: System.ExternalFileStorage
app: External File Storage - SharePoint Connector
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: 21
  events: 0
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 4580 "Ext. SharePoint Connector Impl"

> Codeunit 4580 "Ext. SharePoint Connector Impl" in External File Storage - SharePoint Connector (System.ExternalFileStorage). 20 public procedures, 1 event subscribers. Introduced in BC29, still in BC30.

External File Storage - SharePoint Connector · System.ExternalFileStorage · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/External%20File%20Storage%20-%20SharePoint%20Connector/app/src/ExtSharePointConnectorImpl.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "Ext. SharePoint Account" = rimd |

## Event subscriptions

- EnvironmentCleanup_OnClearCompanyConfig subscribes to Codeunit "Environment Cleanup" OnClearCompanyConfig

## Procedures

- `ListFiles(AccountId: Guid; Path: Text; FilePaginationData: Codeunit "File Pagination Data"; var TempFileAccountContent: Record "File Account Content" temporary)`: Gets a List of Files stored on the provided account.
- `GetFile(AccountId: Guid; Path: Text; Stream: InStream)`: Gets a file from the provided account.
- `CreateFile(AccountId: Guid; Path: Text; Stream: InStream)`: Create a file in the provided account.
- `CopyFile(AccountId: Guid; SourcePath: Text; TargetPath: Text)`: Copies a file inside the provided account.
- `MoveFile(AccountId: Guid; SourcePath: Text; TargetPath: Text)`: Moves a file inside the provided account.
- `FileExists(AccountId: Guid; Path: Text): Boolean`: Checks if a file exists on the provided account.
- `DeleteFile(AccountId: Guid; Path: Text)`: Deletes a file on the provided account.
- `ListDirectories(AccountId: Guid; Path: Text; FilePaginationData: Codeunit "File Pagination Data"; var TempFileAccountContent: Record "File Account Content" temporary)`: Gets a List of Directories stored on the provided account.
- `CreateDirectory(AccountId: Guid; Path: Text)`: Creates a directory on the provided account.
- `DirectoryExists(AccountId: Guid; Path: Text): Boolean`: Checks if a directory exists on the provided account.
- `DeleteDirectory(AccountId: Guid; Path: Text)`: Deletes a directory on the provided account.
- `GetAccounts(var TempAccounts: Record "File Account" temporary)`: Gets the registered accounts for the SharePoint connector.
- `ShowAccountInformation(AccountId: Guid)`: Shows accounts information.
- `RegisterAccount(var TempAccount: Record "File Account" temporary): Boolean`: Register an file account for the SharePoint connector.
- `DeleteAccount(AccountId: Guid): Boolean`: Deletes an file account for the SharePoint connector.
- `GetDescription(): Text[250]`: Gets a description of the SharePoint connector.
- `GetLogoAsBase64(): Text`: Gets the SharePoint connector logo.
- `IsAccountValid(var TempAccount: Record "Ext. SharePoint Account" temporary): Boolean` (internal)
- `CreateAccount(var AccountToCopy: Record "Ext. SharePoint Account"; ClientSecretOrCertificate: SecretText; CertificatePassword: SecretText; var TempFileAccount: Record "File Account" temporary)` (internal)
- `SetAuthorizationsForTest(GraphAuthorization: Interface "Graph Authorization"; SharePointAuthorization: Interface "SharePoint Authorization")` (internal): Injects mock authorizations into both helpers so tests can exercise the dispatching between the Graph and REST stacks without acquiring real tokens.

## Recent changes

- 2026-07-16 [#5833 Add Microsoft Graph API Support to SharePoint Connector](../../changes/bcapps/5833.md) (main, BC30, feature)

## Across versions

- Present in: BC29-30
- 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). 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: "Ext. SharePoint Connector Impl")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
