Skip to content

Commit 67ede29

Browse files
Merge pull request #34841 from dzsquared/drskwier/sqlpackage-170_1
[PLEASE SQUASH] 170.1 release
2 parents dd569e6 + 781c488 commit 67ede29

File tree

6 files changed

+67
-19
lines changed

6 files changed

+67
-19
lines changed

docs/tools/sqlpackage/release-notes-sqlpackage.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Release notes for Microsoft SqlPackage.
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: llali
7-
ms.date: 04/15/2025
7+
ms.date: 07/30/2025
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: release-notes
@@ -19,6 +19,46 @@ ms.custom:
1919

2020
This article lists the features and fixes delivered by the released versions of SqlPackage.
2121

22+
## 170.1.61 SqlPackage
23+
24+
**Release date:** July 30, 2025
25+
26+
```bash
27+
dotnet tool install -g microsoft.sqlpackage --version 170.1.61
28+
```
29+
30+
|Platform|Download|
31+
|:---|:---|
32+
|Windows .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2329922)|
33+
|Windows|[.msi file](https://go.microsoft.com/fwlink/?linkid=2329732)|
34+
|macOS .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2329924)|
35+
|Linux .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2329923)|
36+
37+
### Features
38+
39+
|Feature|Details|
40+
|:---|:---|
41+
| Data virtualization | Adds support for objects related to [data virtualization](/azure/azure-sql/database/data-virtualization-overview?view=azuresql&tabs=sas&preserve-view=true) for Azure SQL Database in import, export, extract, and publish operations. |
42+
| Data virtualization | Adds Azure SQL Database to the [publish with parquet files preview](sqlpackage-with-data-in-parquet-files.md), enabling the use of Azure Blob Storage and parquet files to import data to a database. Extracting data to parquet files is not available for Azure SQL Database as it depends on [functionality not available in Azure SQL Database](/azure/azure-sql/database/data-virtualization-overview?view=azuresql&tabs=sas&preserve-view=true#limitations), `CREATE EXTERNAL TABLE AS SELECT`. |
43+
| Deployment | Adds support for publish properties `/p:IgnorePreDeployScript` and `/p:IgnorePostDeployScript`. These properties default to `false` and when enabled result in the deployment plan omitting the corresponding scripts. [GitHub issue](https://github.com/microsoft/DacFx/issues/647) |
44+
| Permissions | Adds support for the permission `ALTER ANY EXTERNAL MIRROR` for Azure SQL Database and SQL database in Fabric. This permission is required to export a database that contains one or more [mirrored tables](/fabric/database/mirrored-database/azure-sql-database-limitations). [GitHub issue](https://github.com/microsoft/DacFx/issues/648) |
45+
| Permissions | Adds support for the permissions `CREATE ANY EXTERNAL MODEL` and `ALTER ANY EXTERNAL MODEL` for SQL Server 2025. |
46+
| Permissions | Adds support for the permission `ALTER ANY INFORMATION PROTECTION` for SQL Server 2025 and Azure SQL Database. |
47+
| Platform | The SqlPackage .zip build .NET SDK is updated to 8.0.412 |
48+
| ScriptDom | Updated ScriptDom to version 170.0.64. |
49+
| ScriptDom | Updates the Data warehouse in Fabric platform to leverage the `TSqlFabricDWParser` in ScriptDom. |
50+
51+
### Fixes
52+
53+
|Feature|Details|
54+
|:---|:---|
55+
| Always Encrypted | Fixed an issue where the `Interactive` option for the `/AzureKeyVaultAuthMethod` publish parameter was not working correctly. |
56+
| Deployment | Fixed an issue where the `DbScopedConfigMaxDOPSecondary` [property](../sql-database-projects/concepts/project-properties.md) was not being set correctly in the deployment. [GitHub issue](https://github.com/microsoft/DacFx/issues/597) |
57+
| Deployment | Fixed an issue where publishing tables containing foreign key constraints would fail with syntax not supported in Data warehouse in Microsoft Fabric. |
58+
| Deployment | Fixed an issue where server objects were included when deploying to SQL database in Fabric. Server objects are not supported in SQL database in Fabric. [GitHub issue](https://github.com/microsoft/DacFx/issues/646) |
59+
| Deployment | Fixed an issue where clustered columnstore indexes were being created by first creating a clustered index, causing the deployment to incur additional overhead and time. [GitHub issue](https://github.com/microsoft/DacFx/issues/264) |
60+
| Extract | Fixed an issue where extracting a database from SQL database in Fabric would result in unusable user definition scripts. [GitHub issue](https://github.com/microsoft/DacFx/issues/631) |
61+
2262
## 170.0.94 SqlPackage
2363

2464
**Release date:** April 15, 2025

docs/tools/sqlpackage/sqlpackage-deploy-drift-report.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to automate database development tasks with SqlPackage De
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: maghan
7-
ms.date: 11/14/2021
7+
ms.date: 07/30/2025
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: install-set-up-deploy
@@ -130,6 +130,8 @@ SqlPackage {parameters}{properties}{SQLCMD Variables}
130130
|**/p:**|IgnoreObjectPlacementOnPartitionScheme=(BOOLEAN 'True')|Specifies whether an object's placement on a partition scheme should be ignored or updated when you publish to a database.|
131131
|**/p:**|IgnorePartitionSchemes=(BOOLEAN)|Specifies whether differences in partition schemes and functions should be ignored or updated when you publish to a database.|
132132
|**/p:**|IgnorePermissions=(BOOLEAN)|Specifies whether differences in the permissions should be ignored or updated when you publish to a database. |
133+
|**/p:**|IgnorePostDeployScript=(BOOLEAN 'False')|When true, the post-deployment script from the .dacpac will not be attached to the deployment plan.|
134+
|**/p:**|IgnorePreDeployScript=(BOOLEAN 'False')|When true, the pre-deployment script from the .dacpac will not be attached to the deployment plan.|
133135
|**/p:**|IgnoreQuotedIdentifiers=(BOOLEAN 'True')|Specifies whether differences in the quoted identifiers setting should be ignored or updated when you publish to a database. |
134136
|**/p:**|IgnoreRoleMembership=(BOOLEAN)|Specifies whether differences in the role membership of logins should be ignored or updated when you publish to a database. |
135137
|**/p:**|IgnoreRouteLifetime=(BOOLEAN 'True')|Specifies whether differences in the amount of time that SQL Server retains the route in the routing table should be ignored or updated when you publish to a database|

docs/tools/sqlpackage/sqlpackage-download.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Download and Install SqlPackage for Windows, macOS, or Linux"
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: maghan
7-
ms.date: 04/15/2025
7+
ms.date: 07/30/2025
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: install-set-up-deploy
@@ -20,9 +20,9 @@ ms.custom:
2020

2121
SqlPackage runs on Windows, macOS, and Linux, and is available to install through `dotnet tool` or as a standalone zip download. For details about the latest release, see the [release notes](release-notes-sqlpackage.md).
2222

23-
- **Version number:** 170.0.94
24-
- **Build number:** 170.0.94.3
25-
- **Release date:** April 15, 2025
23+
- **Version number:** 170.1.61
24+
- **Build number:** 170.1.61.1
25+
- **Release date:** July 30, 2025
2626

2727
SqlPackage is developed and released for both .NET 8 and .NET Framework. Installing the .NET 8 SqlPackage version is recommended via the [convenient `dotnet tool` method](#installation-cross-platform), which is cross-platform and easy to update, or via the [portable self-contained .zip download](#installation-file-download-alternative). The .NET 8 SqlPackage releases benefit from the continual advances to the performance and scalability of .NET as part of the [focus on for modern applications](/dotnet/core/introduction#net-ecosystem), which contrasts to the maintenance support of .NET Framework for Windows. The .NET Framework version is only available as a [.msi Windows installer](#windows-net-framework).
2828

@@ -111,10 +111,10 @@ SqlPackage is also prepared as a self-contained download for Windows, macOS, and
111111

112112
| Platform | Download |
113113
| :--- | :--- |
114-
|Windows .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2316204)|
115-
|Windows|[.msi file](https://go.microsoft.com/fwlink/?linkid=2316310)|
116-
|macOS .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2316113)|
117-
|Linux .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2316311)|
114+
|Windows .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2329922)|
115+
|Windows|[.msi file](https://go.microsoft.com/fwlink/?linkid=2329732)|
116+
|macOS .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2329924)|
117+
|Linux .NET 8 |[.zip file](https://go.microsoft.com/fwlink/?linkid=2329923)|
118118
### Linux
119119

120120
1. Download [SqlPackage for Linux](https://aka.ms/sqlpackage-linux)
@@ -254,16 +254,16 @@ SqlPackage runs on Windows, macOS, and Linux and is built using .NET 8. The [.NE
254254
This release of SqlPackage can be installed in the following languages:
255255

256256
SqlPackage .NET 8 Windows:
257-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2316204&clcid=0x40a)
257+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2329922&clcid=0x40a)
258258

259259
SqlPackage .NET Framework Windows:
260-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2316310&clcid=0x40a)
260+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2329732&clcid=0x40a)
261261

262262
SqlPackage .NET 8 macOS:
263-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2316113&clcid=0x40a)
263+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2329924&clcid=0x40a)
264264

265265
SqlPackage .NET 8 Linux:
266-
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2316311&clcid=0x40a)
266+
[Chinese (Simplified)](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x804) | [Chinese (Traditional)](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x404) | [English (United States)](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x409) | [French](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x40c) | [German](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x407) | [Italian](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x410) | [Japanese](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x411) | [Korean](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x412) | [Portuguese (Brazil)](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x416) | [Russian](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x419) | [Spanish](https://go.microsoft.com/fwlink/?linkid=2329923&clcid=0x40a)
267267

268268
## Related content
269269

docs/tools/sqlpackage/sqlpackage-publish.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to automate database development tasks with SqlPackage Pu
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: maghan
7-
ms.date: 9/29/2022
7+
ms.date: 07/30/2025
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: conceptual
@@ -203,6 +203,8 @@ SqlPackage /at:$($AccessToken_Object.Token) /Action:Publish /SourceFile:"C:\Adve
203203
|**/p:**|IgnoreObjectPlacementOnPartitionScheme=(BOOLEAN 'True')|Specifies whether an object's placement on a partition scheme should be ignored or updated when you publish to a database.|
204204
|**/p:**|IgnorePartitionSchemes=(BOOLEAN 'False')|Specifies whether differences in partition schemes and functions should be ignored or updated when you publish to a database.|
205205
|**/p:**|IgnorePermissions=(BOOLEAN 'False')|Specifies whether differences in the permissions should be ignored or updated when you publish to a database.|
206+
|**/p:**|IgnorePostDeployScript=(BOOLEAN 'False')|When true, the post-deployment script from the .dacpac will not be attached to the deployment plan.|
207+
|**/p:**|IgnorePreDeployScript=(BOOLEAN 'False')|When true, the pre-deployment script from the .dacpac will not be attached to the deployment plan.|
206208
|**/p:**|IgnoreQuotedIdentifiers=(BOOLEAN 'True')|Specifies whether differences in the quoted identifiers setting should be ignored or updated when you publish to a database.|
207209
|**/p:**|IgnoreRoleMembership=(BOOLEAN 'False')|Specifies whether differences in the role membership of logins should be ignored or updated when you publish to a database.|
208210
|**/p:**|IgnoreRouteLifetime=(BOOLEAN 'True')|Specifies whether differences in the amount of time that SQL Server retains the route in the routing table should be ignored or updated when you publish to a database.|

docs/tools/sqlpackage/sqlpackage-script.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to automate database development tasks with SqlPackage Sc
44
author: dzsquared
55
ms.author: drskwier
66
ms.reviewer: maghan
7-
ms.date: 12/19/2022
7+
ms.date: 07/30/2025
88
ms.service: sql
99
ms.subservice: tools-other
1010
ms.topic: conceptual
@@ -144,6 +144,8 @@ SqlPackage {parameters}{properties}{SQLCMD Variables}
144144
|**/p:**|IgnoreObjectPlacementOnPartitionScheme=(BOOLEAN 'True')|Specifies whether an object's placement on a partition scheme should be ignored or updated when you publish to a database.|
145145
|**/p:**|IgnorePartitionSchemes=(BOOLEAN)|Specifies whether differences in partition schemes and functions should be ignored or updated when you publish to a database.|
146146
|**/p:**|IgnorePermissions=(BOOLEAN)|Specifies whether differences in the permissions should be ignored or updated when you publish to a database.|
147+
|**/p:**|IgnorePostDeployScript=(BOOLEAN 'False')|When true, the post-deployment script from the .dacpac will not be attached to the deployment plan.|
148+
|**/p:**|IgnorePreDeployScript=(BOOLEAN 'False')|When true, the pre-deployment script from the .dacpac will not be attached to the deployment plan.|
147149
|**/p:**|IgnoreQuotedIdentifiers=(BOOLEAN 'True')|Specifies whether differences in the quoted identifiers setting should be ignored or updated when you publish to a database.|
148150
|**/p:**|IgnoreRoleMembership=(BOOLEAN)|Specifies whether differences in the role membership of logins should be ignored or updated when you publish to a database.|
149151
|**/p:**|IgnoreRouteLifetime=(BOOLEAN 'True')|Specifies whether differences in the amount of time that SQL Server retains the route in the routing table should be ignored or updated when you publish to a database.|

0 commit comments

Comments
 (0)