---
title: "Table 1275 Doc. Exch. Service Setup"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/1275-doc-exch-service-setup/
type: table
id: 1275
name: "Doc. Exch. Service Setup"
app: "Base Application"
namespace: Microsoft.EServices.EDocument
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/1275-doc-exch-service-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."
---

# Table 1275 Doc. Exch. Service Setup

Jonas Paprotka, https://jonas-paprotka.de/ref/table/1275-doc-exch-service-setup/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.EServices.EDocument |
| Versions | 17-28 |
| Source file | eServices/EDocument/DocExchServiceSetup.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Primary Key | Code[10] | 17-28 | - | - |
| 4 | Sign-up URL | Text[250] | 17-28 | - | - |
| 5 | Service URL | Text[250] | 17-28 | - | - |
| 6 | Sign-in URL | Text[250] | 17-28 | - | - |
| 7 | Consumer Key | Guid | 17-28 | Removed 26.0 | Authentication with OAuth 1.0 is deprecated. |
| 8 | Consumer Secret | Guid | 17-28 | Removed 26.0 | Authentication with OAuth 1.0 is deprecated. |
| 9 | Token | Guid | 17-28 | Removed 26.0 | Authentication with OAuth 1.0 is deprecated. |
| 10 | Token Secret | Guid | 17-28 | Removed 26.0 | Authentication with OAuth 1.0 is deprecated. |
| 11 | Doc. Exch. Tenant ID | Guid | 17-28 | Removed 26.0 | Authentication with OAuth 1.0 is deprecated. |
| 12 | User Agent | Text[30] | 17-28 | - | - |
| 13 | Client Id | Text[250] | 19-28 | - | - |
| 14 | Client Secret Key | Guid | 19-28 | - | - |
| 15 | Redirect URL | Text[250] | 19-28 | - | - |
| 16 | Auth URL | Text[250] | 19-28 | - | - |
| 17 | Token URL | Text[250] | 19-28 | - | - |
| 18 | Access Token Key | Guid | 19-28 | - | - |
| 19 | Refresh Token Key | Guid | 19-28 | - | - |
| 20 | Enabled | Boolean | 17-28 | - | - |
| 21 | Log Web Requests | Boolean | 17-28 | - | - |
| 24 | Token Subject | Text[250] | 19-28 | - | - |
| 25 | Token Issued At | DateTime | 19-28 | - | - |
| 27 | Id Token | Text[1024] | 19-28 | - | - |
| 28 | Token Expired | Boolean | 19-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Primary Key | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SavePassword | (var Guid, Text) | - | public | 17-21 | Pending 19.0 | Authentication with OAuth 1.0 is deprecated. |
| GetPassword | (Guid) | Text | public | 17-21 | Pending 19.0 | Authentication with OAuth 1.0 is deprecated. |
| HasPassword | (Guid) | Boolean | public | 17-21 | Pending 19.0 | Authentication with OAuth 1.0 is deprecated. |
| SetURLsToDefault | () | - | public | 17-28 | - | - |
| CheckConnection | () | - | public | 17-28 | - | - |
| ShowJobQueueEntry | () | - | public | 17-28 | - | - |
| SetClientSecret | (Text) | - | public | 19-24 | - | - |
| GetClientSecret | () | Text | public | 19-27 | Pending 25.0 | Replaced by GetClientSecretAsSecretText |
| DeleteClientSecret | () | - | public | 19-28 | - | - |
| SetAccessToken | (Text) | - | public | 19-27 | Pending 25.0 | Replaced by SetAccessToken(AccessToken: SecretText) |
| GetAccessToken | () | Text | public | 19-27 | Pending 25.0 | Replaced by GetAccessTokenAsSecretText |
| DeleteAccessToken | () | - | public | 19-28 | - | - |
| SetRefreshToken | (Text) | - | public | 19-27 | Pending 25.0 | Replaced by SetRefreshToken(RefreshToken: SecretText) |
| GetRefreshToken | () | Text | public | 19-27 | Pending 25.0 | Replaced by GetRefreshTokenAsSecretText |
| DeleteRefreshToken | () | - | public | 19-28 | - | - |
| SetDefaultRedirectUrl | () | - | public | 19-28 | - | - |
| SetURLsToDefault | (Boolean) | - | public | 19-28 | - | - |
| IsEnabledChanged | () | Boolean | internal | 19-28 | - | - |
| ScheduleJobQueueEntries | () | - | public | 22-28 | - | - |
| CancelJobQueueEntries | () | - | public | 22-28 | - | - |
| SetClientSecret | (SecretText) | - | public | 25-28 | - | - |
| GetClientSecretAsSecretText | () | SecretText | public | 25-28 | - | - |
| SetAccessToken | (SecretText) | - | public | 25-28 | - | - |
| GetAccessTokenAsSecretText | () | SecretText | public | 25-28 | - | - |
| SetRefreshToken | (SecretText) | - | public | 25-28 | - | - |
| GetRefreshTokenAsSecretText | () | SecretText | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeEnableConnection | (var Record Doc. Exch. Service Setup, var Boolean) | 21-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.
