---
title: "Codeunit 7768 AOAI Deployments"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/
type: codeunit
id: 7768
name: "AOAI Deployments"
app: "System Application"
namespace: System.AI
versions: "23-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/24/ https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/25/ https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/26/ https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/27/ https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/28/ https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/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 7768 AOAI Deployments

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.AI |
| Versions | 23-28 |
| Source file | AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetTurbo0301 | () | Text | public | 23-27 | Pending 25.0 | Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions). |
| GetGPT40613 | () | Text | public | 23-27 | Pending 25.0 | Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions). |
| GetTurbo0613 | () | Text | public | 23-27 | Pending 25.0 | Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions). |
| GetGPT35TurboLatest | () | Text | public | 24-27 | Pending 25.0 | GPT35 Turbo is no longer supported. Use GetGPT4oMiniLatest instead (or GetGPT4oMiniPreview for testing upcoming versions). |
| GetGPT35TurboPreview | () | Text | public | 24-27 | Pending 25.0 | GPT35 Turbo is no longer supported. Use GetGPT4oMiniLatest instead (or GetGPT4oMiniPreview for testing upcoming versions). |
| GetGPT4Latest | () | Text | public | 24-27 | Pending 25.0 | Generic GPT4 deployment name is no longer supported. Use GetGPT4oLatest instead (or GetGPT4oPreview for testing upcoming versions). |
| GetGPT4Preview | () | Text | public | 24-27 | Pending 25.0 | Generic GPT4 deployment name is no longer supported. Use GetGPT4oLatest instead (or GetGPT4oPreview for testing upcoming versions). |
| GetGPT4oLatest | () | Text | public | 25-28 | Pending 27.0 | GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions). |
| GetGPT4oPreview | () | Text | public | 25-28 | Pending 27.0 | GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions). |
| GetGPT4oMiniLatest | () | Text | public | 25-28 | Pending 27.0 | GPT4o mini deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions). |
| GetGPT4oMiniPreview | () | Text | public | 25-28 | Pending 27.0 | GPT4o mini deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions). |
| GetGPT41Latest | () | Text | public | 26-28 | - | - |
| GetGPT41Preview | () | Text | public | 26-28 | - | - |
| GetGPT41MiniLatest | () | Text | public | 26-28 | - | - |
| GetGPT41MiniPreview | () | Text | public | 26-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 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 78c4acf0d64a8eee157ea80164fa8fc2acffc9eb.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at 1749020b4c9445a43e4f7f540e89b7fa76ec25fd.
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.
