---
title: "Codeunit 2001 Azure ML Connector"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/2001-azure-ml-connector/
type: codeunit
id: 2001
name: "Azure ML Connector"
app: "Base Application"
namespace: System.AI
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/2001-azure-ml-connector/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 2001 Azure ML Connector

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/2001-azure-ml-connector/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.AI |
| Versions | 17-28 |
| Source file | System/AI/AzureMLConnector.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Initialize | (Text, Text, Integer) | Boolean | public | 17-26 | Pending 24.0 | Use "Initialize(ApiKey: SecretText; ApiUri: SecretText; TimeOutSeconds: Integer)" instead. |
| IsInitialized | () | Boolean | public | 17-28 | - | - |
| SendToAzureMLInternal | (Boolean) | Boolean | public | 17-28 | - | - |
| SendToAzureML | () | Boolean | public | 17-28 | - | - |
| ValidateApiUrl | (Text) | Boolean | public | 17-28 | - | - |
| SendRequestToAzureML | () | Boolean | public | 17-28 | - | - |
| SetMessageHandler | (DotNet HttpMessageHandler) | - | public | 17-28 | - | - |
| SetInputName | (Text) | Boolean | public | 17-28 | - | - |
| AddInputColumnName | (Text) | Boolean | public | 17-28 | - | - |
| AddInputRow | () | Boolean | public | 17-28 | - | - |
| AddInputValue | (Text) | Boolean | public | 17-28 | - | - |
| AddParameter | (Text, Text) | Boolean | public | 17-28 | - | - |
| SetParameterName | (Text) | Boolean | public | 17-28 | - | - |
| SetOutputName | (Text) | Boolean | public | 17-28 | - | - |
| GetOutput | (Integer, Integer, var Text) | Boolean | public | 17-28 | - | - |
| GetOutputLength | (var Integer) | Boolean | public | 17-28 | - | - |
| GetInput | (Integer, Integer, var Text) | Boolean | public | 17-28 | - | - |
| GetInputLength | (var Integer) | Boolean | public | 17-28 | - | - |
| GetParameter | (Text, var Text) | Boolean | public | 17-28 | - | - |
| Initialize | (SecretText, Text, Integer) | Boolean | public | 24-28 | - | - |
| SetDefaultTimeoutSeconds | (Integer) | - | public | 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.
