---
title: "Codeunit 9100 SharePoint Client"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/
type: codeunit
id: 9100
name: "SharePoint Client"
app: "System Application"
namespace: System.Integration.Sharepoint
versions: "21-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/source/24/ https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/source/25/ https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/source/26/ https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/source/27/ https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/source/28/ https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 9100 SharePoint Client

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9100-sharepoint-client/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.Integration.Sharepoint |
| Versions | 21-28 |
| Source file | SharePoint/src/SharePointClient.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Initialize | (Text, Interface SharePoint Authorization) | - | public | 21-28 | - | - |
| Initialize | (Text, Text, Interface SharePoint Authorization) | - | public | 21-28 | - | - |
| GetDiagnostics | () | Interface HTTP Diagnostics | public | 21-28 | - | - |
| GetLists | (var Record SharePoint List) | Boolean | public | 21-28 | - | - |
| GetListItems | (Text, var Record SharePoint List Item) | Boolean | public | 21-28 | - | - |
| GetListItems | (Guid, var Record SharePoint List Item) | Boolean | public | 21-28 | - | - |
| GetListItemAttachments | (Text, Integer, var Record SharePoint List Item Atch) | Boolean | public | 21-28 | - | - |
| GetListItemAttachments | (Guid, Integer, var Record SharePoint List Item Atch) | Boolean | public | 21-28 | - | - |
| DownloadListItemAttachmentContent | (Text, Integer, Text) | Boolean | public | 21-28 | - | - |
| DownloadListItemAttachmentContent | (Guid, Integer, Text) | Boolean | public | 21-28 | - | - |
| DownloadListItemAttachmentContent | (Text) | Boolean | public | 21-28 | - | - |
| CreateListItemAttachment | (Text, Integer, var Record SharePoint List Item Atch) | Boolean | public | 21-28 | - | - |
| CreateListItemAttachment | (Guid, Integer, var Record SharePoint List Item Atch) | Boolean | public | 21-28 | - | - |
| CreateListItemAttachment | (Text, Integer, Text, var InStream, var Record SharePoint List Item Atch) | Boolean | public | 21-28 | - | - |
| CreateListItemAttachment | (Guid, Integer, Text, var InStream, var Record SharePoint List Item Atch) | Boolean | public | 21-28 | - | - |
| CreateList | (Text, Text, var Record SharePoint List) | Boolean | public | 21-28 | - | - |
| CreateListItem | (Text, Text, Text, var Record SharePoint List Item) | Boolean | public | 21-28 | - | - |
| CreateListItem | (Guid, Text, Text, var Record SharePoint List Item) | Boolean | public | 21-28 | - | - |
| GetSubFoldersByServerRelativeUrl | (Text, var Record SharePoint Folder) | Boolean | public | 21-28 | - | - |
| GetFolderFilesByServerRelativeUrl | (Text, var Record SharePoint File) | Boolean | public | 21-28 | - | - |
| DownloadFileContent | (Text, Text) | Boolean | public | 21-28 | - | - |
| GetDocumentLibraryRootFolder | (Text, var Record SharePoint Folder) | Boolean | public | 21-28 | - | - |
| CreateFolder | (Text, var Record SharePoint Folder) | Boolean | public | 21-28 | - | - |
| AddFileToFolder | (Text, var Record SharePoint File) | Boolean | public | 21-28 | - | - |
| AddFileToFolder | (Text, Text, var InStream, var Record SharePoint File) | Boolean | public | 21-28 | - | - |
| DownloadFileContent | (Text, var InStream) | Boolean | public | 22-28 | - | - |
| DownloadFileContent | (Text, var Codeunit Temp Blob) | Boolean | public | 22-28 | - | - |
| DownloadFileContentByServerRelativeUrl | (Text, var InStream) | Boolean | public | 22-28 | - | - |
| DownloadFileContentByServerRelativeUrl | (Text, Text) | Boolean | public | 22-28 | - | - |
| DownloadFileContentByServerRelativeUrl | (Text, var Codeunit Temp Blob) | Boolean | public | 22-28 | - | - |
| DeleteFile | (Text) | Boolean | public | 22-28 | - | - |
| DeleteFileByServerRelativeUrl | (Text) | Boolean | public | 22-28 | - | - |
| DeleteFolder | (Text) | Boolean | public | 22-28 | - | - |
| DeleteFolderByServerRelativeUrl | (Text) | Boolean | public | 22-28 | - | - |
| GetFolderFilesByServerRelativeUrl | (Text, var Record SharePoint File, Boolean) | Boolean | public | 23-28 | - | - |
| AddFileToFolder | (Text, var Record SharePoint File, Boolean) | Boolean | public | 23-28 | - | - |
| AddFileToFolder | (Text, Text, var InStream, var Record SharePoint File, Boolean) | Boolean | public | 23-28 | - | - |
| UpdateListItemMetaDataField | (Text, Integer, Text, Text, Text) | Boolean | public | 23-28 | - | - |
| UpdateListItemMetaDataField | (Guid, Integer, Text, Text, Text) | Boolean | public | 23-28 | - | - |
| GetFileByServerRelativeUrl | (Text, var Record SharePoint File, Boolean) | Boolean | public | 24-28 | - | - |
| FolderExistsByServerRelativeUrl | (Text) | Boolean | public | 26-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | ProcessSharePointFileMetadata | (JsonToken, var Record SharePoint File) | 23-28 | - | - |
| Integration event | ProcessSharePointListItemMetadata | (JsonToken, var Record SharePoint List Item) | 23-28 | - | - |

## Source

Symbols: Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 78c4acf0d64a8eee157ea80164fa8fc2acffc9eb.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at 1749020b4c9445a43e4f7f540e89b7fa76ec25fd.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 740f59156b249f8ed7cba2e28423f03ae7b07233.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
