---
title: "Codeunit 9119 SharePoint Graph Client"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9119-sharepoint-graph-client/
type: codeunit
id: 9119
name: "SharePoint Graph Client"
app: "System Application"
namespace: System.Integration.Sharepoint
versions: "28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/9119-sharepoint-graph-client/source/28/ https://jonas-paprotka.de/ref/codeunit/9119-sharepoint-graph-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 9119 SharePoint Graph Client

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

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Initialize | (Text, Interface Graph Authorization) | - | public | 28 | - | - |
| Initialize | (Text, Enum Graph API Version, Interface Graph Authorization) | - | public | 28 | - | - |
| Initialize | (Text, Text, Interface Graph Authorization) | - | public | 28 | - | - |
| Initialize | (Text, Enum Graph API Version, Interface Graph Authorization, Interface Http Client Handler) | - | public | 28 | - | - |
| GetLists | (var Record SharePoint Graph List) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetLists | (var Record SharePoint Graph List, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetList | (Text, var Record SharePoint Graph List) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetList | (Text, var Record SharePoint Graph List, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateList | (Text, Text, var Record SharePoint Graph List) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateList | (Text, Text, Text, var Record SharePoint Graph List) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetListItems | (Text, var Record SharePoint Graph List Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetListItems | (Text, var Record SharePoint Graph List Item, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateListItem | (Text, JsonObject, var Record SharePoint Graph List Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateListItem | (Text, Text, var Record SharePoint Graph List Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDefaultDrive | (var Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDrives | (var Record SharePoint Graph Drive) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDrives | (var Record SharePoint Graph Drive, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDrive | (Text, var Record SharePoint Graph Drive) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDrive | (Text, var Record SharePoint Graph Drive, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDefaultDrive | (var Record SharePoint Graph Drive) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetRootItems | (var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetRootItems | (var Record SharePoint Graph Drive Item, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetFolderItems | (Text, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetFolderItems | (Text, var Record SharePoint Graph Drive Item, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetItemsByPath | (Text, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetItemsByPath | (Text, var Record SharePoint Graph Drive Item, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDriveItem | (Text, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDriveItem | (Text, var Record SharePoint Graph Drive Item, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDriveItemByPath | (Text, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| GetDriveItemByPath | (Text, var Record SharePoint Graph Drive Item, Codeunit Graph Optional Parameters) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateFolder | (Text, Text, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateFolder | (Text, Text, var Record SharePoint Graph Drive Item, Enum Graph ConflictBehavior) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateFolder | (Text, Text, Text, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CreateFolder | (Text, Text, Text, var Record SharePoint Graph Drive Item, Enum Graph ConflictBehavior) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadFile | (Text, Text, InStream, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadFile | (Text, Text, InStream, var Record SharePoint Graph Drive Item, Enum Graph ConflictBehavior) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadFile | (Text, Text, Text, InStream, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadFile | (Text, Text, Text, InStream, var Record SharePoint Graph Drive Item, Enum Graph ConflictBehavior) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| DownloadFile | (Text, var Codeunit Temp Blob) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| DownloadFileByPath | (Text, var Codeunit Temp Blob) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| DownloadLargeFile | (Text, var Codeunit Temp Blob) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| DownloadLargeFileByPath | (Text, var Codeunit Temp Blob) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadLargeFile | (Text, Text, InStream, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadLargeFile | (Text, Text, InStream, var Record SharePoint Graph Drive Item, Enum Graph ConflictBehavior) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadLargeFile | (Text, Text, Text, InStream, var Record SharePoint Graph Drive Item) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| UploadLargeFile | (Text, Text, Text, InStream, var Record SharePoint Graph Drive Item, Enum Graph ConflictBehavior) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| DeleteItem | (Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| DeleteItemByPath | (Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| ItemExists | (Text, var Boolean) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| ItemExistsByPath | (Text, var Boolean) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CopyItem | (Text, Text, Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| CopyItemByPath | (Text, Text, Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| MoveItem | (Text, Text, Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| MoveItemByPath | (Text, Text, Text) | Codeunit SharePoint Graph Response | public | 28 | - | - |
| SetODataFilter | (var Codeunit Graph Optional Parameters, Text) | - | public | 28 | - | - |
| SetODataSelect | (var Codeunit Graph Optional Parameters, Text) | - | public | 28 | - | - |
| SetODataExpand | (var Codeunit Graph Optional Parameters, Text) | - | public | 28 | - | - |
| SetODataOrderBy | (var Codeunit Graph Optional Parameters, Text) | - | public | 28 | - | - |
| GetDiagnostics | () | Interface HTTP Diagnostics | public | 28 | - | - |
| SetSiteIdForTesting | (Text) | - | internal | 28 | - | - |
| SetDefaultDriveIdForTesting | (Text) | - | internal | 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 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.
