Database compatibility level 170 is now the default for new databases created in Azure SQL Database and SQL database in Microsoft Fabric across all public regions.
Updated Jun 19, 2025
Version 3.0Thank you Zuoken for the great question.
Database compatibility level 170 for database projects is supported in Microsoft.Build.Sql 2.0.0-preview.1. Support for the new compatibility level within other tools like SSDT is coming soon.
theSQLSith - is there any update on when support for compatibility level 170 will be coming to SSDT? The new JSON data type and functions in 170 is great, but using JSON_ARRAYAGG function is causing errors in my build in SSDT.
CTaylor_Truegility - support in SSDT/Visual Studio is going to be later in the year. The JSON_ARRAYAGG function unfortunately isn't supported yet in Microsoft.Build.Sql at all, but as soon as it lands it'll be available first in VS Code's SQL database projects extension.