---
title: "Codeunit 5456 Graph Connection Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5456-graph-connection-setup/
type: codeunit
id: 5456
name: "Graph Connection Setup"
app: "Base Application"
namespace: Microsoft.Integration.Graph
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5456-graph-connection-setup/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 5456 Graph Connection Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5456-graph-connection-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Integration.Graph |
| Versions | 17-28 |
| Source file | Integration/Graph/GraphConnectionSetup.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CanRunSync | () | Boolean | public | 17-28 | - | - |
| ConstructConnectionString | (Text, Text, Text, Text) | Text | public | 17-28 | - | - |
| GetGraphNotificationUrl | () | Text[250] | public | 17-28 | - | - |
| GetInboundConnectionName | (Integer) | Text | public | 17-28 | - | - |
| GetInboundConnectionString | (Integer) | Text | public | 17-28 | - | - |
| GetSubscriptionConnectionName | (Integer) | Text | public | 17-28 | - | - |
| GetSubscriptionConnectionString | (Integer) | Text | public | 17-28 | - | - |
| GetSynchronizeConnectionName | (Integer) | Text | public | 17-28 | - | - |
| GetSynchronizeConnectionString | (Integer) | Text | public | 17-28 | - | - |
| RegisterConnectionForEntity | (Text, Text, Text, Text, Text, Text) | - | public | 17-28 | - | - |
| RegisterConnections | () | - | public | 17-28 | - | - |
| IsS2SAuthenticationEnabled | () | Boolean | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCheckForceSync | (var Boolean) | 17-28 | - | - |
| Integration event | OnGetInboundConnectionName | (Integer, var Text) | 17-28 | - | - |
| Integration event | OnGetInboundConnectionString | (Integer, var Text) | 17-28 | - | - |
| Integration event | OnGetSubscriptionConnectionName | (Integer, var Text) | 17-28 | - | - |
| Integration event | OnGetSubscriptionConnectionString | (Integer, var Text) | 17-28 | - | - |
| Integration event | OnGetSynchronizeConnectionName | (Integer, var Text) | 17-28 | - | - |
| Integration event | OnGetSynchronizeConnectionString | (Integer, var Text) | 17-28 | - | - |
| Integration event | OnRegisterConnections | () | 17-28 | - | - |
| Integration event | OnIsS2SAuthenticationEnabled | (var Boolean, var Boolean) | 17-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
