The AL-Go artifact setting: every combination that works (and some that don't)
A cookbook of AL-Go artifact settings, grouped by what you want to achieve, with the Business Central version each one actually resolves to.
Draft: This article isn’t finished yet.
Click together an
artifactsetting and see which version it resolves to today: Artifact Builder
The artifact setting decides which Business Central version AL-Go builds and tests your apps against. It lives in your AL-Go settings, usually .AL-Go/settings.json:
1
2
3
4
{
"country": "de",
"artifact": "//28.5/de/latest"
}
country is a separate setting: the localization AL-Go builds for. The value of artifact (//28.5/de/latest above) has five parts, separated by /. Every part can be left empty, which is why values like ////nextmajor are valid:
1
<storageAccount>/<type>/<version>/<country>/<select>
| Part | Values | If empty |
|---|---|---|
storageAccount | bcartifacts, bcinsider | bcartifacts (released versions) |
type | Sandbox, OnPrem | Sandbox |
version | major (28), major.minor (28.5), full version (28.5.54151.56322), * | any version |
country | w1, de, us, dk, … (see Reference) | the country setting (default us) |
select | latest, first, all, closest, secondtolastmajor, current, nextminor, nextmajor, daily, weekly | latest |
Changing the country doesn’t change the version you get. Microsoft publishes every build for all countries under the same version number: 29.0.54011.56330 exists for w1, de, us and dk alike. The country only decides which localization is included, meaning country-specific features such as local tax and reporting. w1 is the worldwide base version without any localization.
That’s why the examples below use different countries: the results are the same for each.
All results below were resolved on October 14, 2026, two weeks after the release of 29.0, with the country setting matching the country part of the artifact value.
Always the current release
| Setting | Resolves to | |
|---|---|---|
| (not set) | 29.0.54011.56330 | newest sandbox for your country setting |
///w1/latest | 29.0.54011.56330 | newest w1 sandbox |
///de/daily | 29.0.54011.56262 | newest de build before today |
///us/weekly | 29.0.54011.56119 | newest us build before last Sunday |
///dk/current | 29.0.54011.56330 | current dk release |
All of these switch to the new major on release day (see the Release Map). daily and weekly only reduce how often the artifact changes, so caches stay valid. They don’t pin a version.
current gives the same result as latest, but rejects storageAccount, version and OnPrem. AL-Go’s own Test Current workflow uses ////latest.
Pin a version
| Setting | Resolves to | |
|---|---|---|
//28/w1/latest | 28.5.54151.56322 | newest w1 build of major 28 |
//28/de/first | 28.0.46665.52632 | oldest de build of major 28 |
//28.5/us/latest | 28.5.54151.56322 | newest us build of 28.5 |
//28.5/dk/first | 28.5.54151.54178 | oldest dk build of 28.5 |
//28.5.54151.56322/w1 | 28.5.54151.56322 | exactly this w1 build |
//28.5.54151.0/de/closest | 28.5.54151.54178 | first de build ≥ the given version within 28.5, otherwise the newest 28.5 |
///us/secondtolastmajor | 28.5.54151.56322 | newest us build of the previous major |
///dk/first | 15.4.41023.43755 | oldest dk sandbox artifact available |
versionis a prefix:28matches all of 28.x,28.1matches 28.1 but not 28.10.- Older minors keep receiving builds. 28.5 got a new one two weeks after 29.0 was released, so
//28.5/…/latestalways gives you the current hotfix level. - For majors up to 25, only one build per minor is kept. A pinned exact build number can disappear.
Derive the version from your app
With * as version, AL-Go uses your applicationDependency: the highest application version across your app.json files, but at least the AL-Go setting applicationDependency (default 18.0.0.0). You normally don’t set that setting, since the value comes from your app.json files. AL-Go also stops the build if the artifact is older than this value.
| Setting | Application in app.json | Resolves to | |
|---|---|---|---|
//*/w1/first | 28.0.0.0 | 28.0.46665.52632 | oldest build that satisfies your app |
//*/de/latest | 28.0.0.0 | 28.0.46665.56311 | newest build of 28.0, not 28.5 |
//*/us/latest | 28.5.0.0 | 28.5.54151.56322 | newest build of 28.5 |
| (not set) | 28.0.0.0 | 28.0.46665.52632 | with "updateDependencies": true: oldest build ≥ your app’s minimum, falls back to insider builds if there is none |
* stays within the major.minor of your applicationDependency and only works with first or latest.
Test the next release
| Setting | Resolves to | |
|---|---|---|
////nextminor | 29.1.56191.0 | next minor (insider build) |
////nextmajor | 30.0.56306.0 | next major (insider build) |
///dk/nextmajor | 30.0.56306.0 | same, with country set explicitly |
bcinsider/Sandbox/30.0/de/latest | 30.0.56306.0 | a specific insider version |
nextminorandnextmajorread from thebcinsiderstorage account. AL-Go accepts the insider EULA for you.nextminorandnextmajorare sandbox-only; insider builds aren’t available for on-premises.- From minor .5 on,
nextminorreturns the next major, since there is no .6 for sandboxes. nextmajoris empty until Microsoft publishes the first insider build of the next major.- The PTE template ships with
.github/Test Next Minor.settings.jsonand.github/Test Next Major.settings.json, which set exactly these values for the matching workflows. Workflow-specific settings files override the project settings.
On-premises
| Setting | Resolves to | |
|---|---|---|
/OnPrem//w1/latest | 29.0.54011.55407 | newest on-premises release |
/OnPrem/28/de/latest | 28.6.55443.0 | newest cumulative update of 28 |
/OnPrem//dk/weekly | 29.0.54011.55407 | daily/weekly are treated as latest |
/OnPrem//dech/latest | 14.53.50097.0 | German-language Switzerland, ends with 14 |
- On-premises has exactly one build per cumulative update, one per month for 18 months, so its minors go up to .18 (26.0 to 26.18). Sandboxes stop at .5.
- The language variants
dech,frbe,frca,frch,itchandnlbeexist only on-premises and only up to 14.naends with 16. ushas far fewer on-premises builds thanw1. Everything before 11 and majors 13, 15 and 16 are missing, so/OnPrem/16/us/latestfinds nothing while/OnPrem/16/w1/latestreturns 16.19.35126.0.
Doesn’t work
| Setting | Error |
|---|---|
//28.5/w1/weekly | You cannot specify version, before or after when selecting Daily or Weekly build |
bcinsider///de/nextmajor | You cannot specify storageAccount, type=OnPrem or version when selecting NextMajor release |
//*/us/closest | Version can only be '*' if select is first or latest. |
//28.5/dk/closest | Version number must be in the format 1.2.3.4 when you want to get the closest artifact Url |
/OnPrem/16/us/latest | No artifacts found for the artifact setting |
bcpublicpreview/Sandbox//w1/latest | the storage account is empty today |
daily and weekly can’t be combined with a version. To stay on an older release, use latest with the version instead.
Reference
Storage accounts
| Value | Contains |
|---|---|
(empty), bcartifacts | released versions, sandbox and on-premises |
bcinsider | preview builds, sandbox only |
bcpublicpreview | nothing at the moment |
Types: Sandbox, OnPrem
Countries
| Type | Countries |
|---|---|
| Sandbox | at, au, be, bg, br, ca, ch, co, cz, de, dk, ee, es, fi, fr, gb, gr, hk, hr, hu, ie, in, is, it, jp, kr, lt, lv, mx, nl, no, nz, pe, ph, pl, pt, ro, rs, se, si, sk, th, tr, tw, ua, us, vn, w1 |
| On-premises | at, au, be, ca, ch, cz, de, dk, es, fi, fr, gb, in, is, it, mx, nl, no, nz, ru, se, us, w1; up to 16: na; up to 14: dech, frbe, frca, frch, itch, nlbe |
For sandboxes, countries without their own localization are mapped automatically, for example ae, lu or my to w1, and fo or gl to dk.
Select
| Value | Returns | Restrictions |
|---|---|---|
latest | newest match | default |
first | oldest match | |
all | all matches, AL-Go uses the first | |
closest | first build ≥ version within its major.minor | version must be x.x.x.x |
secondtolastmajor | newest build of the previous major | no version |
current | current sandbox release | no storageAccount, version or OnPrem |
nextminor | next minor insider build | no storageAccount, version or OnPrem |
nextmajor | next major insider build | no storageAccount, version or OnPrem |
daily | newest build before today | no version; latest for OnPrem |
weekly | newest build before last Sunday | no version; latest for OnPrem |
Instead of a search value, artifact also accepts a full artifact URL starting with https://.