---
id: object/table/4580
type: object
title: Table 4580 "Ext. SharePoint Account"
summary: Table 4580 "Ext. SharePoint Account" in External File Storage - SharePoint Connector (System.ExternalFileStorage). 12 fields, 7 public procedures. Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - table
  - external file storage - sharepoint connector
versions:
  introduced: "29"
  last_changed: "30"
  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: 3baae250c02bb74a7fffaa4e6de71c8e81bce0b0040c9f5e9a2e9e8506236c53
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/External%20File%20Storage%20-%20SharePoint%20Connector/app/src/ExtSharePointAccount.Table.al
    title: src/Apps/W1/External File Storage - SharePoint Connector/app/src/ExtSharePointAccount.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12064
    - change/bcapps/11016
    - change/bcapps/5833
object_type: table
object_id: 4580
name: Ext. SharePoint Account
caption: SharePoint Account
namespace: System.ExternalFileStorage
app: External File Storage - SharePoint Connector
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 12
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 4580 "Ext. SharePoint Account"

> Table 4580 "Ext. SharePoint Account" in External File Storage - SharePoint Connector (System.ExternalFileStorage). 12 fields, 7 public procedures. Introduced in BC29, still in BC30, changed in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | SharePoint Account |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Id | Guid | Primary Key <small>caption</small> | DataClassification SystemMetadata |
| 2 | Name | Text[250] | Specifies a descriptive name for this SharePoint storage account connection. |  |
| 4 | SharePoint Url | Text[2048] | Specifies the complete URL to your SharePoint site (e.g., https://mysharepoint.sharepoint.com/sites/ProjectX). This is the site URL where your documents will be stored. |  |
| 5 | Base Relative Folder Path | Text[2048] | Specifies the base folder path. For SharePoint REST API: Use the full server-relative path including the site (e.g., /sites/ProjectX/Shared Documents/Reports). For Microsoft Graph API: Use only the path relative to the document library (e.g., Reports). When using Graph API, the path should not inclu... |  |
| 6 | Tenant Id | Guid | Specifies the Microsoft Entra ID Tenant ID (Directory ID) where your SharePoint site and app registration are located. |  |
| 7 | Client Id | Guid | Specifies the Client ID (Application ID) of the App Registration in Microsoft Entra ID. |  |
| 8 | Client Secret Key | Guid | — | DataClassification SystemMetadata |
| 9 | Disabled | Boolean | Specifies if the account is disabled. Accounts are automatically disabled when a sandbox environment is created from production. |  |
| 10 | Authentication Type | Enum "Ext. SharePoint Auth Type" | Specifies the authentication method used for this SharePoint account. When using the legacy REST API, Client Secret uses the Authorization Code (user grant) flow, which requires an interactive sign-in, while Certificate uses the Client Credentials (app-only) flow, which does not require a user sign-... | enum [Enum 4585 "Ext. SharePoint Auth Type"](../enum/4585.md) |
| 11 | Certificate Key | Guid | — | DataClassification SystemMetadata |
| 12 | Certificate Password Key | Guid | — | DataClassification SystemMetadata |
| 13 | Use legacy REST API | Boolean | Specifies whether to use Microsoft Graph API or SharePoint REST API. Microsoft Graph API supports downloading files larger than 150 MB through chunked transfers. Note: Requires Microsoft Graph permissions (Sites.ReadWrite.All) configured in your app registration instead of SharePoint permissions. | DataClassification SystemMetadata |

## Keys

- PK: Id (clustered)

## Procedures

- `SetClientSecret(ClientSecret: SecretText)` (internal)
- `GetClientSecret(ClientSecretKey: Guid): SecretText` (internal)
- `SetCertificate(Certificate: SecretText)` (internal)
- `GetCertificate(CertificateKey: Guid): SecretText` (internal)
- `SetCertificatePassword(CertificatePassword: SecretText)` (internal)
- `GetCertificatePassword(CertificatePasswordKey: Guid): SecretText` (internal)
- `UploadCertificateFile(): SecretText` (internal): Opens a file dialog and uploads a certificate file, converting it to base64 format.

Plus 5 local procedures.

## Triggers

OnDelete

## Pages and codeunits on this table

- [Page 4580 "Ext. SharePoint Account"](../page/4580.md) (source table)
- [Page 4581 "Ext. SharePoint Account Wizard"](../page/4581.md) (source table)

## Recent changes

- 2026-10-07 [#12064 Support SharePoint paths containing hash and percent characters](../../changes/bcapps/12064.md) (main, BC30, feature)
- 2026-09-10 [#11016 [AI Business Solutions] Enforce allow-listed Redirect URIs, token audiences and authorities for OAuth2 integrations](../../changes/bcapps/11016.md) (main, BC30, fix)
- 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: BC30

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: "table", object_name: "Ext. SharePoint Account")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
