Skip to main content

Upgrading to BimlStudio 2027

This article covers the changes in BimlStudio 2027 that can affect a project built with an earlier version of BimlStudio. Each section says who is affected, what changes and, where there is something to do, what to do. For everything else that is new, see the BimlStudio 2027 release notes.

Which sections apply to you​

SectionRead it if
Retired Azure Data Factory connectorsA project has linked services, datasets or copy sources for a connector that Azure Data Factory has retired, or for an earlier connector version that it has replaced, or a QuickBooks or Xero linked service.
Other Biml language changesA project has a Jira or Xero copy source, a Jira dataset, a QuickBooks or Vertica linked service, or a Databricks Jar or Python activity.
Classic Azure Machine LearningA project uses the classic Azure Machine Learning linked service or its two activities.
SSIS casts to DT_NUMERICAn SSIS variable or property expression casts a value to DT_NUMERIC or DT_DECIMAL, or writes such a value as text.
Columns after a computed columnA table has a computed column or a hashed key column.
Warnings in a build that you run through MSBuildA script or pipeline of yours runs MSBuild on a .bimlproj file.
SubversionYou use Subversion or TortoiseSVN as the source control provider in BimlStudio.

Retired Azure Data Factory connectors​

This section applies to you if a project has linked services, datasets or copy sources for any of the connectors in the tables below, or a QuickBooks or Xero linked service. Before you upgrade, remove the retired connectors in the first table from your projects or replace them with a supported connector. For the earlier connector versions in the second table, change to the current element. For QuickBooks and Xero, change how the linked service signs in after you upgrade.

Microsoft has removed the first ten connectors in the first table from the Azure Data Factory service. For these ten, existing pipelines no longer execute and new workloads cannot be created, so they do not work in Azure Data Factory regardless of this change in BimlStudio. The Azure Data Factory service retired the other five on 31 December 2024.

BimlStudio 2027 removes the Biml language elements for these connectors and the support for building them. A project that still uses them reports Biml schema errors in BimlStudio 2027.

ConnectorRetired by Azure Data FactoryError in BimlStudio 2027
Amazon Marketplace Web Service (MWS)Removed after Amazon shut down the MWS API on 31 March 2024Biml schema errors
Concur31 December 2024Biml schema errors
Couchbase31 December 2024Biml schema errors
Drill31 December 2024Biml schema errors
HBase31 December 2024Biml schema errors
Magento31 December 2024Biml schema errors
Marketo31 December 2024Biml schema errors
PayPal31 December 2024Biml schema errors
Phoenix31 December 2024Biml schema errors
Zoho31 December 2024Biml schema errors
Azure Database for MariaDB31 December 2024Biml schema errors
Oracle Eloqua31 December 2024Biml schema errors
Oracle Responsys31 December 2024Biml schema errors
Oracle Service Cloud31 December 2024Biml schema errors
Salesforce Marketing Cloud31 December 2024Biml schema errors

A project that uses Azure Database for MariaDB or Oracle Service Cloud builds in BimlStudio 2026 R1, but the output it produces for them does not work. BimlStudio 2026 R1 writes the Azure Database for MariaDB linked service and copy source without a type. It writes the Oracle Service Cloud linked service without the host from its Host attribute, so that linked service does not work unless you supplied the host another way. BimlStudio 2027 reports Biml schema errors for both connectors when you build.

BimlStudio 2027 also removes the Biml elements for earlier versions of connectors that Azure Data Factory has replaced with a newer version. A project that still uses one of them reports Biml schema errors, so change it to the current element. The current elements do not always take the same attributes as the earlier ones. ServiceNowV2 is new in BimlStudio 2027, so make that change after you upgrade.

Removed elementUse instead
MongoDb and MongoDbSourceMongoDbV2 and MongoDbV2Source
ServiceNow and ServiceNowSourceServiceNowV2 and ServiceNowV2Source
GoogleBigQuery and GoogleBigQuerySourceGoogleBigQueryV2 and GoogleBigQueryV2Source
Snowflake and SnowflakeSourceSnowflakeV2 and SnowflakeV2Source
MySqlLegacyMySql
PostgreSqlLegacyPostgreSql
OracleLegacyOracle

A project with a PostgreSqlLegacy linked service builds in BimlStudio 2026 R1, but the linked service it produces has the type PostgresSql, which is not an Azure Data Factory type, so it does not work. BimlStudio 2027 reports a Biml schema error for it when you build.

The QuickBooks and Xero linked services stay, but the way they sign in has changed, and the earlier attributes and elements report Biml schema errors:

  • QuickBooks. The AccessToken, AccessTokenSecret and UseEncryptedEndpoints attributes and the AccessTokenKVS and AccessTokenSecretKVS elements are removed. Use RefreshToken or RefreshTokenKVS.
  • Xero. The ConsumerKey and PrivateKey attributes and the ConsumerKeyKVS and PrivateKeyKVS elements are removed. Use TenantId, ClientId, ClientSecret or ClientSecretKVS, and RefreshToken or RefreshTokenKVS. TenantId is required.

These attributes and elements are new in BimlStudio 2027, so change a QuickBooks or Xero linked service after you upgrade.

Other Biml language changes​

This section applies to you if a project uses any of the elements in the table below. BimlStudio 2027 removes some of their child elements and makes some of their attributes required, so a project that builds in BimlStudio 2026 R1 can report Biml schema errors in BimlStudio 2027. A removed child element reports that its parent has an invalid child element, such as has invalid child element 'Query'. A missing required attribute reports an error such as The required attribute 'Schema' is missing.

The last column says when you can make the change. Before you upgrade means that BimlStudio 2026 R1 already accepts what to write instead. After you upgrade means that what to write instead is new in BimlStudio 2027, or that BimlStudio 2026 R1 still requires the element that BimlStudio 2027 removes.

ElementWhat changes in BimlStudio 2027What to write insteadWhen
JiraSource copy sourceThe Query element is removed.Name the data with the Schema and Table attributes of the Jira dataset.After you upgrade, because BimlStudio 2026 R1 requires Query on this source.
Jira datasetThe Schema and Table attributes are required. Schema is new in BimlStudio 2027.Add Schema and Table.You can add Table before you upgrade. Add Schema after you upgrade.
XeroSource copy sourceThe Query element is removed.Name the table with the Table attribute of the Xero dataset. BimlStudio 2027 reports an error for a Xero dataset without Table.You can add Table before you upgrade. Remove Query after you upgrade, because BimlStudio 2026 R1 requires it on this source.
QuickBooks linked serviceThe ConsumerKey attribute is required.Add ConsumerKey.Before you upgrade.
Vertica linked serviceThe Server, Database and Uid attributes are required. They are new in BimlStudio 2027.Add Server, Database and Uid.After you upgrade.
DatabricksJar activityThe MainClassName attribute is required. It is new in BimlStudio 2027. A project with this activity builds in BimlStudio 2026 R1, but the activity it produces has no mainClassName, so it does not work unless you supplied one another way. BimlStudio 2027 reports the missing attribute when you build.Add MainClassName with the full name of the class that contains the main method. The class must be in a JAR provided as a library.After you upgrade.
DatabricksPython activityThe PythonFile attribute is required. It is new in BimlStudio 2027. A project with this activity builds in BimlStudio 2026 R1, but the activity it produces has no pythonFile, so it does not work unless you supplied one another way. BimlStudio 2027 reports the missing attribute when you build.Add PythonFile with the URI of the Python file to run. DBFS paths are supported.After you upgrade.

Classic Azure Machine Learning​

This section applies to you if a project uses the classic Azure Machine Learning linked service (Data Factory type AzureML) or either of the classic Machine Learning activities, AzureMLBatchExecution and AzureMLUpdateResource. Before you upgrade, remove those items from your projects or replace them.

The Azure Data Factory service refuses the classic Azure Machine Learning linked service type, so BimlStudio 2027 removes the Biml language elements for the linked service and the two activities, along with the support for building them. A project that still uses them reports Biml schema errors.

The Azure ML Service linked service and the Machine Learning Execute Pipeline activity are still supported.

SSIS casts to DT_NUMERIC​

This section applies to you if an SSIS variable or property expression in your project casts a value to DT_NUMERIC or DT_DECIMAL, or writes a DT_NUMERIC, DT_DECIMAL or DT_CY value as text. Check those expressions before you upgrade, because they can now evaluate to a different value or stop the build.

BimlStudio 2027 evaluates these expressions differently from earlier versions:

  • Values too large for the precision. A cast to DT_NUMERIC whose value has more whole digits than the declared precision minus the scale allows now reports a truncation, such as Expression with value 12.345 is truncated by (DT_NUMERIC,3,2). In a Biml build, the truncation is a build error. Earlier versions evaluated such a cast to a value without reporting anything.
  • Scale. A cast to DT_NUMERIC treats its scale as the number of digits after the decimal point, and truncates the value to that number of digits without rounding. A DT_NUMERIC cast of a value with more than one whole digit can also evaluate differently, because earlier versions cut the value one digit shorter for each whole digit beyond the first.
  • String variables. A String variable whose expression is a cast to DT_NUMERIC or DT_DECIMAL now holds the value at the declared scale, up to the 28 fraction digits that a .NET decimal holds. A declared scale above 28 prints 28 fraction digits.
  • Decimal separator. The text that the build writes for a DT_NUMERIC, DT_DECIMAL or DT_CY value, either in a variable value or through a cast to DT_WSTR, DT_STR, DT_TEXT or DT_NTEXT, now always uses a period as the decimal separator, regardless of the regional settings of the build machine.
  • Arithmetic. The result of arithmetic on these casts can show a different number of fraction digits.
  • Text length. The length of the text changes in a cast to DT_WSTR. Text cut to the declared scale can now fit a length that was too short for the old text. Text padded to the declared scale can now exceed a length that the old text fit, and the cast then reports a truncation.
ExpressionBimlStudio 2027Earlier versions
(DT_NUMERIC,3,2)12.345Reports a truncation, which is a build error in a Biml buildA value, with no report
(DT_NUMERIC,10,2)12.34512.3412.3
(DT_NUMERIC,10,2)12.3456789 in a String variable12.3412.3000000, or 12,3000000 on a machine with a comma decimal separator
(DT_NUMERIC,10,0)12345 in a String variable1234510000
(DT_WSTR,30)(DT_NUMERIC,38,28)12.3Reports a truncationNo truncation

Columns after a computed column​

This section applies to you if a table in your project has a computed column or a hashed key column. A computed column is a Column with a Computed attribute. A hashed key column is a HashedKey element. A column with IsSsasNamedCalculation="true" does not count. Build the project with BimlStudio 2027 and correct what it reports, because the build can now stop on errors that BimlStudio 2026 R1 did not report for that table.

BimlStudio 2026 R1 stopped validating a table's columns at the first computed column or hashed key column. It did not check the columns after that column, and it did not check the table's multiple column reference groups or its Analysis Services named calculations. BimlStudio 2027 checks them as it checks every other table. The checks and their messages are the same ones that already applied to a column before a computed column, and to a table without one. An error from any of them stops the build.

The Biml in the table below built in BimlStudio 2026 R1, and what the build produced ran without an error. In BimlStudio 2027 it stops the build until you correct it. The first four rows apply to a column that comes after the computed column or hashed key column. The last two apply to the whole table, wherever the computed column or hashed key column is. In the fourth row the table script ran, but it left the column out.

The table hasBimlStudio 2026 R1BimlStudio 2027 reportsWhat to do
A string or binary column with no Length, or with Length="0"Wrote the column as varchar(max), nvarchar(max) or varbinary(max), and a fixed length string column as char(8000) or nchar(4000)Column of string type must specify positive Length or -1 to represent the MAX value. or the same message for a binary typeSet Length. Use -1 to keep the column at its maximum length.
A decimal column with a Scale and no PrecisionWrote the column with a precision of 18must specify a scale ranging from 0 <= scale <= precisionAdd Precision="18", or the precision you want.
A column whose Default is valid SQL in a form that the check does not accept, such as a value with leading spaces, a quoted number on a numeric column or an unquoted number on a string columnWrote the default as you gave itSpecified Default value does not match type or Specified value has leading whitespaceWrite the default in the form of the column's type, such as 0 for a number and 'text' for a string. A default that contains an opening parenthesis, such as GETDATE() or (0), is not checked.
A table reference column that points to a table with no primary, identity or unique keyLeft the column and its foreign key out of the table script, without a messagelacks a primary, identity, or unique key. and then Cannot create a foreign key referenceAdd a single column key to the table that the column points to, or replace the table reference with a plain column. Either one adds the column to the table script. Remove the table reference to keep the table as BimlStudio 2026 R1 wrote it.
A multiple column reference group whose columns point to more than one table, with ForeignKeyConstraintMode="DoNotCreate"Wrote the columns and no foreign keyAll columns in the MultipleColumnTableReferenceGroup and the group name, then must come from a single table.Give the columns that point to each table their own group.
A column with IsSsasNamedCalculation="true" and no Computed expression, which no cube attribute or measure usesWrote it to the data source view as an ordinary columnThe column has IsSsasNamedCalculation=true, but the Computed expression has not been suppliedSupply the Computed expression, or remove the column if nothing uses it. Setting IsSsasNamedCalculation to false also clears the error, and adds the column to the table script.

Some valid defaults have no form that the check accepts. Examples are CURRENT_USER or SYSTEM_USER on a string column, NEXT VALUE FOR a sequence on an Int32, Int64 or Decimal column, CURRENT_TIMESTAMP on a Time column, and a date before 1753 on a Date column. Wrap these in parentheses, such as (CURRENT_USER) or ('1700-01-01'). A default that contains an opening parenthesis or an @ anywhere is not checked. For other defaults a plain form exists. Write 1 in place of 'true' on a Boolean column, '1:45:00 PM' in place of '13:45:00' on a Time column, and 'text' in place of N'text' on an AnsiString or AnsiStringFixedLength column. A column that sets CustomType is checked against its DataType, which is Int32 when you do not set it. Set DataType to match the custom type, and set Length as well when it is a string or binary type. The table script still uses CustomType.

Other Biml already failed in BimlStudio 2026 R1, but later, when you ran the table script that the build produced. BimlStudio 2027 reports it at the build, with a message that names the column, the tables or the group. This covers a table reference to a table whose key has more than one column, a decimal column whose Scale is greater than its Precision, a default that the check finds is not valid SQL, and a multiple column reference group across tables whose foreign key is created. A default that is longer than its column is reported at the build as well. In BimlStudio 2026 R1 it failed on the first insert that used the default.

The length check counts the characters you wrote between the outer quotes, so it can report a default that fits. A doubled quote counts as two characters, and NULL counts as four. If BimlStudio 2027 reports Specified Default value exceeds the length of the column type for a default that fits, wrap the default in parentheses, such as (NULL) or ('O''Brien'). The build writes it as DEFAULT ((NULL)), which SQL Server accepts. A string column with no Length reports this error for every checked default except an empty string, next to the Length error in the first row of the table. Set Length to -1, or to a length that holds the default, and both errors clear.

BimlStudio 2027 runs these checks whether or not the build writes a table script. If you never ran a table script for the table, you did not see these failures in BimlStudio 2026 R1, and each case that BimlStudio 2027 reports still stops the build. The checks do not catch every default that is not valid SQL or is longer than its column. They skip a default that contains an opening parenthesis or an @, the check for valid SQL covers only Boolean, Date, DateTime, Decimal, Double, Int32, Int64, UInt32, UInt64, Time and string columns, and the length check covers only string columns. A default that the checks do not report can still fail when you run the table script, as it did in BimlStudio 2026 R1. For a table reference to a table whose key has more than one column, replace it with one MultipleColumnTableReference for each key column, point each at its key column with ForeignColumnName, and give them all the same MultipleColumnTableReferenceGroupName. For a decimal column, make Scale no greater than Precision. For a default that is not valid SQL, write a valid value in the form of the column's type. For a group across tables, give the columns that point to each table their own group, and make sure that the columns each group references are a key of their table. For a default that is longer than its column, shorten the default or raise Length.

If you build in BimlStudio with Warn As Error selected in your project, or you build with --warnAsError, a warning from these checks now fails the build as well. A build that you run through MSBuild yourself treats warnings as errors when the WarnAsError property is True, which you can set with /p:WarnAsError=True or in your project file, or when you give MSBuild its -warnaserror switch. The build still runs to the end and writes its output, and then reports that it failed. The warnings are Specified Length will be ignored, Specified Scale will be ignored, Specified Computed expression will be ignored, a message that the column must specify a precision ranging from the limits of its type, and EnforceForeignKeyConstraint is set to true but could not find a matching Key. BimlStudio 2026 R1 did not raise them for a column after a computed column or hashed key column, and it did not raise the last one for any table that has such a column. To clear a warning, remove the attribute that the message names, which is Precision for the precision message. For the last one, add a key to the table that the group points to, made of the columns that the group references.

BimlStudio 2027 also has three new warnings, which apply wherever the column is in the table. The Default value is ignored on a computed column. is reported for a computed column that has a Default. The Default value is ignored on a hashed key column. is reported for a hashed key column that has a Default. IsNullable is ignored on a hashed key column. is reported for a hashed key column that has IsNullable="true". BimlStudio 2026 R1 reported nothing for these three, so a build that treats warnings as errors passed with them and now fails. To clear a warning, remove the Default, or remove IsNullable or set it to false. The table script changes for the two Default cases. BimlStudio 2026 R1 wrote a default constraint for the column, and BimlStudio 2027 does not. A hashed key column is written NOT NULL in both releases.

Warnings in a build that you run through MSBuild​

This section applies to you if a script or pipeline of yours runs MSBuild on a .bimlproj file, does not set a WarnAsError property, and does not tell MSBuild itself to treat warnings as errors, as its -warnaserror switch does. In BimlStudio 2026 R1 such a build counted every warning as an error, so a build with a warning reported that it failed. In BimlStudio 2027 it reports warnings as warnings, as the bimlc command line compiler does. If you rely on the build failing at any warning, add /p:WarnAsError=True to the MSBuild command. A build that passes the property is unchanged, and so is a build that you start from BimlStudio. The Warn As Error setting in BimlStudio does not apply to a build that you run through MSBuild yourself.

Subversion​

This section applies to you if you use Subversion or TortoiseSVN as the source control provider in BimlStudio.

BimlStudio 2027 removes the Subversion and TortoiseSVN source control providers. The Git and Team Foundation Server providers remain.