---
title: "Codeunit 6060 Hybrid Deployment"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6060-hybrid-deployment/
type: codeunit
id: 6060
name: "Hybrid Deployment"
app: "Base Application"
namespace: System.Environment
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6060-hybrid-deployment/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 6060 Hybrid Deployment

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6060-hybrid-deployment/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Environment |
| Versions | 17-28 |
| Source file | HybridDeployment.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Initialize | (Text) | - | public | 17-28 | - | - |
| CreateIntegrationRuntime | (var Text, var Text) | - | public | 17-28 | - | - |
| DisableReplication | () | - | public | 17-28 | - | - |
| DisableDataLakeMigration | () | - | public | 17-28 | - | - |
| EnableReplication | (Text, Text, Text) | - | public | 17-28 | - | - |
| GetIntegrationRuntimeKeys | (var Text, var Text) | - | public | 17-28 | - | - |
| GetReplicationRunStatus | (Text, var Text, var Text) | - | public | 17-28 | - | - |
| GetRequestStatus | (Text, var Text) | Text | public | 17-28 | - | - |
| GetVersionInformation | (var Text, var Text) | - | public | 17-28 | - | - |
| InitiateDataLakeMigration | (var Text, Text, Text) | - | public | 17-28 | - | - |
| PrepareTablesForReplication | () | - | public | 17-28 | - | - |
| RegenerateIntegrationRuntimeKeys | (var Text, var Text) | - | public | 17-28 | - | - |
| ResetCloudData | () | - | public | 17-28 | - | - |
| RunReplication | (var Text, Integer) | - | public | 17-28 | - | - |
| RunUpgrade | () | - | public | 17-28 | - | - |
| SetReplicationSchedule | (Text, Text, Time, Boolean) | - | public | 17-28 | - | - |
| VerifyCanStartUpgrade | (Text) | Boolean | internal | 19-28 | - | - |
| SanitizeCompanyBeforeUpgrade | () | - | public | 20-28 | - | - |
| SanitizeFields | (Text, Integer) | - | public | 20-28 | - | - |
| StartDataUpgrade | () | - | public | 21-28 | - | - |
| EnableReplication | (Text, Text, Text, Text, Text, Text) | - | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCreateIntegrationRuntime | (var Text) | 17-28 | - | - |
| Integration event | OnDisableDataLakeMigration | (var Text) | 17-28 | - | - |
| Integration event | OnDisableReplication | (var Text) | 17-28 | - | - |
| Integration event | OnAfterDisableReplication | (var Text) | 17-28 | - | - |
| Integration event | OnBeforeEnableReplication | (Text, var Text, var Text[150], var Text[50], var Text, var Text[150], var Text[50]) | 17-28 | - | - |
| Integration event | OnEnableReplication | (Text, Text, Text, Text, Text, Text, Text, Text, Text, var Text) | 17-27 | - | - |
| Integration event | OnGetErrorMessage | (Text, var Text) | 17-28 | - | - |
| Integration event | OnGetIntegrationRuntimeKeys | (var Text) | 17-28 | - | - |
| Integration event | OnGetReplicationRunStatus | (var Text, Text) | 17-28 | - | - |
| Integration event | OnGetRequestStatus | (Text, var Text, var Text) | 17-28 | - | - |
| Integration event | OnGetVersionInformation | (var Text) | 17-28 | - | - |
| Integration event | OnInitialize | (Text) | 17-28 | - | - |
| Integration event | OnInitiateDataLakeMigration | (var Text, Text, Text) | 17-28 | - | - |
| Integration event | OnPrepareTablesForReplication | () | 17-28 | - | - |
| Integration event | OnRegenerateIntegrationRuntimeKeys | (var Text) | 17-28 | - | - |
| Integration event | OnRunReplication | (var Text, Integer) | 17-28 | - | - |
| Integration event | OnRunUpgrade | (var Text) | 17-28 | - | - |
| Integration event | OnSetReplicationSchedule | (Text, Text, Time, Boolean, var Text) | 17-28 | - | - |
| Integration event | OnCanStartUpgrade | (Text) | 19-28 | - | - |
| Integration event | OnStartDataUpgrade | () | 21-28 | - | - |
| Integration event | OnHandleVerifyCanStartUpgrade | (var Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnSkipMinorAndMajorVersionCheck | (var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeResetUsersToIntelligentCloudPermissions | (var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeRunReplication | () | 27-28 | - | - |
| Integration event | OnEnableReplication | (Text, Text, Text, Text, Text, Text, Text, Text, Text, var Text, Text, Text, Text) | 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.
