- Fixed error handling in Az.Sql cmdlets that inherit from
AzureSqlCmdletBaseto surface descriptive error messages instead of generic 'Operation returned an invalid status code' when API calls fail. This restores meaningful error details such as Azure Policy violation messages.
- Add support for the versionless AKV keys.
- The cmdlets supported are
Add-AzSqlServerKeyVaultKey,Get-AzSqlServerKeyVaultKey,Set-AzSqlServerTransparentDataEncryptionProtector,Get-AzSqlServerTransparentDataEncryptionProtector,New-AzSqlDatabase,Get-AzSqlDatabase,Set-AzSqlDatabase,New-AzSqlDatabaseCopy,New-AzSqlDatabaseSecondaryandRestore-AzSqlDatabase
- The cmdlets supported are
- Added public preview tag for
EnableSoftDeleteandSoftDeleteRetentionDaysproperties inNew-AzSqlServerandSet-AzSqlServercmdlets - Added public preview tag for
Get-AzSqlDeletedServerandRestore-AzSqlServercmdlets
- Added 'Get-AzSqlDeletedServer' cmdlet to retrieve soft deleted Azure SQL servers
- Supports retrieving deleted servers by location or specific deleted server by name
- Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
- The EnableSoftDelete parameter is deprecated from
New-AzSqlServerandSet-AzSqlServercmdlets and will be removed by May 2026.
- Updated with support for Immutable Long-Term Retention Backups
- Updated
Set-AzSqlDatabaseBackupLongTermRetentionPolicycmdlet to exposeTimeBasedImmutabilityandTimeBasedImmutabilityModeparameters. - Updated
AzureSqlDatabaseBackupLongTermRetentionPolicyModelto addTimeBasedImmutabilityandTimeBasedImmutabilityModeproperties. - Updated
AzureSqlDatabaseLongTermRetentionBackupModelto addTimeBasedImmutability,TimeBasedImmutabilityMode, andLegalHoldImmutabilityproperties. - Added new cmdlets
Lock-AzSqlDatabaseLongTermRetentionBackupImmutabilityandRemove-AzSqlDatabaseLongTermRetentionBackupImmutabilityfor managing time-based immutability on LTR backups. - Added new cmdlets
Set-AzSqlDatabaseLongTermRetentionBackupLegalHoldandRemove-AzSqlDatabaseLongTermRetentionBackupLegalHoldfor managing legal hold immutability on LTR backups.
- Updated
- Improved parameter validation for the EnableSoftDelete and SoftDeleteRetentionDays parameters.
- Added
EnableSoftDeleteandSoftDeleteRetentionDaystoNew-AzSqlServerto support soft-delete retention - Added
EnableSoftDeleteandSoftDeleteRetentionDaystoSet-AzSqlServerto support soft-delete retention - Added
Restore-AzSqlServercmdlet to restore a deleted Azure SQL server within the retention period
- Fixed
New-AzSqlDatabaseExportandNew-AzSqlDatabaseImportto use SQL Authentication with ManagedIdentity without any mandatory password - Added
MemorySizeInGBparameter toNew-AzSqlInstance,Set-AzSqlInstanceto enable the creation of instances with flexible memory - Added
MemorySizeInGBfield to the model of the managed instance so that it displays information about flexible memory instances that are returned byGet-AzSqlInstance.
- Updated
DatabaseOperationsApi to version2024-11-01-previewfor .Net Sdk
- Added server level action groups in enum of action groups to be able to be configured via auditing.
- Added Information message to
Set-AzSqlInstancefor migrating Azure Sql database with GeoDr links to Azure Sql Hyperscale Edition
- Fixed GitHub issue #12417 "Get-AzSqlElasticPoolDatabase doesn't enumerate output."
- fixed the output to enumerate the results.
- Upgraded nuget package to signed package.
- Updated
New-AzSqlDatabaseExportwith support for Managed Identity- Added
ManagedIdentitytoStorageKeyTypeauth list - Added
ManagedIdentitytoAuthenticationTypeauth list
- Added
- Updated
New-AzSqlDatabaseImportwith support for Managed Identity- Added
ManagedIdentitytoStorageKeyTypeauth list - Added
ManagedIdentitytoAuthenticationTypeauth list
- Added
- Added
Start-AzSqlInstanceLinkFailovercmdlet for Managed Instance Link. - Updated
New-AzSqlInstanceLinkwith new input parameters- Added
DistributedAvailabilityGroupName,FailoverMode,InstanceLinkRole,SeedingMode - Renamed
SecondaryAvailabilityGroupName->InstanceAvailabilityGroupNameSourceEndpoint->PartnerEndpointPrimaryAvailabilityGroupName->PartnerAvailabilityGroupName TargetDatabase->Database, parameter type is changed from string to string[].
- Added
- Updated
AzureSqlManagedInstanceLinkModelthat is a return type ofNew-AzSqlInstanceLink,Get-AzSqlInstanceLink,Update-AzSqlInstanceLink,Remove-AzSqlInstanceLink - Added new optional parameter for
New-AzSqlDatabaseSecondaryto support cross-subscription geo-replication.
- Fixed secrets exposure in example documentation.
- Fixed issues regarding Active Directory Administrator in
Set-AzSqlInstanceActiveDirectoryAdministratorandSet-AzSqlInstancecmdlets. - Added new parameter AuthenticationMetadata to
New-AzSqlInstanceandSet-AzSqlInstance
- Added breaking change announcement for cmdlets:
New-AzSqlInstanceLink,Get-AzSqlInstanceLink,Remove-AzSqlInstanceLink,Update-AzSqlInstanceLink. - Added
IsGeneralPurposeV2andStorageIOpsparameters toNew-AzSqlInstance,Set-AzSqlInstanceto enable the creation of GPv2 instances - Added IsGeneralPurposeV2 and StorageIOps fields to the model of the managed instance so that it displays information about GPv2 instances that are returned by
Get-AzSqlInstance. - Added new cmdlet
Set-AzSqlDatabaseReplicationLinkfor updating replication link type - Updated
Get-AzSqlDatabaseReplicationLinkto use the new sdk
- Added cross-subscription support for
Copy-AzSqlInstanceDatabase,Move-AzSqlInstanceDatabase - Added new parameter SecondaryType to
Add-AzSqlDatabaseFromFailoverGroup
- Added multi-secondary support for
Get-AzSqlDatabaseFailoverGroup,Remove-AzSqlDatabaseFromFailoverGroupandAdd-AzSqlDatabaseFromFailoverGroup - Changed default FailoverPolicy value for
New-AzSqlDatabaseFailoverGroup,Set-AzSqlDatabaseFailoverGroupfromAutomatictoManual - Added
ManualCutoverandPerformCutoverparameters toSet-AzSqlInstancefor Azure Sql Sterling database to Azure Sql Hyperscale database - Added
OperationPhaseDetailsparameter toGet-AzSqlDatabaseActivityand updatedDatabaseOperationsApi to version2022-11-01-previewfor .Net Sdk
- Made 1.2 as default for MinimalTlsVersion when creating new Sql Server from Powershell
- Fixed an existing issue with
Set-AzSqlInstanceActiveDirectoryAdministrator
- Added
DatabaseFormatandPricingModelparameters toNew-AzSqlInstance,Set-AzSqlInstance - Added breaking change message for
New-AzSqlDatabaseFailoverGroupandSet-AzSqlDatabaseFailoverGroup- The default value of
FailoverPolicyparameter will be changed fromAutomatictoManual
- The default value of
- Added a new cmdlet for Azure SQL Managed Instance refresh external governance status
- 'Invoke-AzSqlInstanceExternalGovernanceStatusRefresh'
- Updated
Get-AzSqlInstanceto support returning theExternalGovernanceStatusproperty
- Fixed
Set-AzSqlDatabaseFailoverGroupwhen going from multi-secondary to single secondary - Added
SecondaryComputeModel,AutoPauseDelayInMinutesandMinimumCapacityparameters withinNew-AzSqlDatabaseSecondary
- Added new parameters
MaintenanceConfigurationId,DnsZonetoAzSqlInstancePoolcmdlets
- Added new parameters to
New-AzSqlDatabaseFailoverGroup,Set-AzSqlDatabaseFailoverGroup- PartnerServers
- ReadOnlyEndpointTargetServer
- Added
UseFreeLimitandFreeLimitExhaustionBehaviorparameters toNew-AzSqlDatabase,Get-AzSqlDatabase,Set-AzSqlDatabase - Added new cmdlets for Elastic Job Private Endpoints
Get-AzSqlElasticJobPrivateEndpoint,New-AzSqlElasticJobPrivateEndpoint,Remove-AzSqlElasticJobPrivateEndpoint - Added new parameters
WorkerCount,SkuName,IdentitytoAzSqlElasticJobAgentcmdlets - Added support for optional SQL auth for Elastic Job Agent cmdlets
-
- The following parameters are now optional:
CredentialName,OutputCredentialName,RefreshCredentialName
- The following parameters are now optional:
- Fixed cmdlets to use 2018-06-01-preview api version
- 'Set-AzSqlInstanceDatabaseSensitivityClassification',
- 'Remove-AzSqlInstanceDatabaseSensitivityClassification',
- 'Enable-AzSqlInstanceDatabaseSensitivityRecommendation',
- 'Disable-AzSqlInstanceDatabaseSensitivityRecommendation',
- Added
EncryptionProtectorAutoRotationparameter toNew-AzSqlDatabase,Get-AzSqlDatabase,Set-AzSqlDatabase,New-AzSqlDatabaseCopy,New-AzSqlDatabaseSecondary,Restore-AzSqlDatabasecmdlets
- Added new cmdlets for Azure SQL Managed Instance start/stop schedule
- 'Start-AzSqlInstance',
- 'Stop-AzSqlInstance',
- 'Get-AzSqlInstanceStartStopSchedule',
- 'New-AzSqlInstanceStartStopSchedule',
- 'Remove-AzSqlInstanceStartStopSchedule',
- 'New-AzSqlInstanceScheduleItem'
- Added
TryPlannedBeforeForcedFailoverparameter toSwitch-AzSqlDatabaseFailoverGroup - Added new cmdlets for managed database move and copy operations
- 'Copy-AzSqlInstanceDatabase'
- 'Move-AzSqlInstanceDatabase'
- 'Complete-AzSqlInstanceDatabaseCopy'
- 'Stop-AzSqlInstanceDatabaseCopy'
- 'Complete-AzSqlInstanceDatabaseMove'
- 'Stop-AzSqlInstanceDatabaseMove'
- 'Get-AzSqlInstanceDatabaseMoveOperation'
- 'Get-AzSqlInstanceDatabaseCopyOperation'
- Added new cmdlets
Get-AzSqlInstanceDatabaseLedgerDigestUpload,Disable-AzSqlInstanceDatabaseLedgerDigestUpload, andEnable-AzSqlInstanceDatabaseLedgerDigestUpload - Added
EnableLedgerparameter toNew-AzSqlInstanceDatabase - Added
PreferredEnclaveTypeparameter toNewAzureSqlElasticPoolandSetAzureSqlElasticPoolcmdlet - Added "None" as an option for -MinimalTlsVersion for the cmdlet 'Set-AzSqlServer'
- Added new cmdlets for managing server configuration options
- 'Set-AzSqlServerConfigurationOption'
- 'Get-AzSqlServerConfigurationOption'
- Added a new cmdlet to refresh external governance status
- 'Invoke-AzSqlServerExternalGovernanceStatusRefresh'
- Fixed identity assignment in
Set-AzSqlDatabasecmdlet - Added new parameters to
New-AzSqlDatabase,Get-AzSqlDatabase,Set-AzSqlDatabase,New-AzSqlDatabaseCopy,New-AzSqlDatabaseSecondarycmdlets- AssignIdentity
- EncryptionProtector
- UserAssignedIdentityId
- KeyList
- KeysToRemove
- FederatedClientId
- Added 'ExpandKeyList' and 'KeysFilter' parameters to
Get-AzSqlDatabaseGeoBackupandGet-SqlDeletedDatabaseBackup - Added new cmdlets for Per DB CMK
- 'Revalidate-AzSqlDatabaseTransparentDataEncryptionProtector'
- 'Revert-AzSqlDatabaseTransparentDataEncryptionProtector'
- 'Revalidate-AzSqlServerTransparentDataEncryptionProtector'
- 'Revalidate-AzSqlInstanceTransparentDataEncryptionProtector'
- Added an optional parameter 'SecondaryType' to: 'Set-AzSqlDatabaseInstanceFailoverGroup' 'New-AzSqlDatabaseInstanceFailoverGroup'
- Added an optional parameter
HAReplicaCounttoRestore-AzSqlDatabase - Added new cmdlets for managed instance DTC
Get-AzSqlInstanceDtcSet-AzSqlInstanceDtc - Added
TargetSubscriptionIdtoRestore-AzSqlInstanceDatabasein order to enable cross subscription restore - Enabled support for UserAssignedManagedIdentity in Auditing
- Fixed WorkspaceResourceId parameter value in
Set-AzSqlServerAudit
- Added a parameter named
UseIdentityforSet-AzSqlServerAudit,Set-AzSqlDatabaseAudit,Set-AzSqlServerMSSupportAudit - Added
IsManagedIdentityInUseproperty to the output ofGet-AzSqlServerMSSupportAudit - Added
PreferredEnclaveTypeparameter toNew-AzSqlDatabase,Get-AzSqlDatabaseandSet-AzSqlDatabasecmdlet
- Added new cmdlets for CRUD operations on SQL server IPv6 Firewall rules
Get-AzSqlServerIpv6FirewallRuleNew-AzSqlServerIpv6FirewallRuleRemove-AzSqlServerIpv6FirewallRuleSet-AzSqlServerIpv6FirewallRule - StorageContainerSasToken parameter in the
Start-AzSqlInstanceDatabaseLogReplaycmdlet is now optional
- Added new fields to the
Get-AzSqlInstanceDatabaseLogReplaycmdlet - Improved error handling in the
Stop-AzSqlInstanceDatabaseLogReplaycmdlet - Added StorageContainerIdentity parameter in the
Start-AzSqlInstanceDatabaseLogReplaycmdlet - Removed the following cmdlets:
Clear-AzSqlServerAdvancedThreatProtectionSettingandClear-AzSqlDatabaseAdvancedThreatProtectionSetting - Added the following cmdlets:
Get-AzSqlInstanceDatabaseAdvancedThreatProtectionSetting,Get-AzSqlInstanceAdvancedThreatProtectionSetting,Update-AzSqlInstanceDatabaseAdvancedThreatProtectionSettingandUpdate-AzSqlInstanceAdvancedThreatProtectionSetting - Removed the following aliases:
Enable-AzSqlServerAdvancedThreatProtection,Disable-AzSqlServerAdvancedThreatProtection,Get-AzSqlServerThreatDetectionSetting,Remove-AzSqlServerThreatDetectionSetting,Set-AzSqlServerThreatDetectionSetting,Get-AzSqlDatabaseThreatDetectionSetting,Set-AzSqlDatabaseThreatDetectionSettingandRemove-AzSqlDatabaseThreatDetectionSetting - Changed the returned object for the following cmdlets:
Get-AzSqlServerAdvancedThreatProtectionSettingandGet-AzSqlDatabaseAdvancedThreatProtectionSetting - Changed the parameters for the following cmdlets:
Update-AzSqlServerAdvancedThreatProtectionSettingandUpdate-AzSqlDatabaseAdvancedThreatProtectionSetting. OnlyEnableparameter is now supported. - Changed endpoint used in SQL Server and SQL Instance from AD Graph to MS Graph
- Added
Standbyoption toSecondaryTypeparameter toNew-AzSqlDatabaseSecondary.
- Removed the warning messages for MSGraph migration [#18856]
- Moved SQL Server and SQL Instance from ActiveDirectoryClient to MicrosoftGraphClient
- Supported cross-subscription Failover Group creation using
PartnerSubscriptionIdparameter inNew-AzSqlDatabaseFailoverGroupcmdlet - Added
PausedDateandResumedDatefor cmdletGet-AzSqlDatabase
- Added
GeoZoneoption toBackupStorageRedundancyparameter toNew-AzSqlDatabase,Set-AzSqlDatabase,New-AzSqlDatabaseCopy,New-AzSqlDatabaseSecondary, andRestore-AzSqlDatabaseto enable create, update, copy, geo secondary and PITR support for GeoZone hyperscale databases - Added additional input validation to
Stop-AzSqlInstanceDatabaseLogReplaycmdlet to ensure the target database was created by log replay service - Bug fix for cmdlet
Restore-AzSqlDatabase. The optional propertyTagswas not working as expected - Added isManagedIdentityInUse get parameter for
Get-AzSqlServerAuditandGet-AzSqlDatabaseAudit - Added new cmdlet
Set-AzSqlInstanceDatabase
- Added new cmdlet
Get-AzSqlInstanceEndpointCertificate - Added parameter
HighAvailabilityReplicaCounttoNew-AzSqlElasticPoolandSet-AzSqlElasticPool
- Added parameter
ServicePrincipalTypetoNew-AzSqlInstanceandSet-AzSqlInstance - [Breaking change] Removed
Get-AzSqlDatabaseTransparentDataEncryptionActivity - Added property
CurrentBackupStorageRedundancyandRequestedBackupStorageRedundancyin the outputs of Managed Instance CRUD commands - Added optional property
TagtoRestore-AzSqlDatabase - Added new cmdlets for managing Server Trust Certificates
New-AzSqlInstanceServerTrustCertificateGet-AzSqlInstanceServerTrustCertificateRemove-AzSqlInstanceServerTrustCertificate
- Added new cmdlets for managing Managed Instance Link
New-AzSqlInstanceLinkGet-AzSqlInstanceLinkRemove-AzSqlInstanceLinkSet-AzSqlInstanceLink
- Added support for DataWarehouse cross tenant and cross subscription restore operations to
Restore-AzSqlDatabasecmdlet - Upgrading to usage of .NET SDK 3.1.0-preview
- Declare breaking changes for the AdvancedDataSecurity and AdvancedThreatProtection cmdlets to be effective from 9.0.0.
- Deprecation of Get-AzSqlDatabaseTransparentDataEncryptionActivity cmdlet
- Fixed cmdlets for Azure Active Directory Admin
AzureSqlServerActiveDirectoryAdministratorAdapterandAzureSqlInstanceActiveDirectoryAdministratorAdaptermigrate fromAzureEnvironment.Endpoint.AzureEnvironment.Endpoint.GraphtoAzureEnvironment.ExtendedEndpoint.MicrosoftGraphUrl
- Added
ZoneRedundantparameter toNew-AzSqlDatabaseCopy,New-AzSqlDatabaseSecondaryandRestore-AzSqlDatabaseto enable zone redundant copy, geo secondary and PITR support for hyperscale databases
-
Fixed FirewallRuleName wildcard filtering in
Get-AzSqlServerFirewallRule[#16199] -
Moved SQL Server and SQL Instance AAD from ActiveDirectoryClient to MicrosoftGraphClient
- Fixed
Get-AzSqlDatabaseImportExportStatusto report the error encountered
- Changed the underlying implementation of
Get-AzSqlDatabaseto support a paginated response from the server - Added
ZoneRedundantparameter toNew-AzSqlInstanceandSet-AzSqlInstanceto enable the creation and the update of zone - redundant instances. - Added ZoneRedundant field to the model of the managed instance so that it displays information about zone - redundancy for instance that are returned by
Get-AzSqlInstance. - Extended AuditActionGroups enum in server & database audit. Added DBCC_GROUP, DATABASE_OWNERSHIP_CHANGE_GROUP and DATABASE_CHANGE_GROUP.
- Added
AsJobflag toRemove-AzSqlInstance - Added
SubnetIdparameter toSet-AzSqlInstanceto support the cross-subnet update SLO - Upgraded to newest SDK version
- Fixed identity logic in
Set-AzSqlServerandSet-AzSqlInstance
- Added
RestrictOutboundNetworkAccessparameter to following cmdletsNew-AzSqlServerSet-AzSqlServer
- Added new cmdlets for CRUD operations on Allowed FQDNs of Outbound Firewall rules
Get-AzSqlServerOutboundFirewallRuleNew-AzSqlServerOutboundFirewallRuleRemove-AzSqlServerOutboundFirewallRule - Fixed the identity logic for SystemAssigned,UserAssigned identities for New-AzSqlServer, New-AzSqlInstance
- Updated cmdlets for getting and updating SQL database's differential backup frequency
Get-AzSqlDatabaseBackupShortTermRetentionPolicySet-AzSqlDatabaseBackupShortTermRetentionPolicy - Fixed Partial PUT issue for Azure Policy in
Set-AzSqlServerandSet-AzSqlInstance
- Changed the type of parameter
AutoRotationEnabledinSet-AzSqlInstanceTransparentDataEncryptionProtectorto bool?. - Fixed Update-AzSqlDatabaseAdvancedThreatProtectionSetting with StorageAccount as an optional parameter instead of required.
- Added option to support short version of maintenance configuration id for Managed Instance in
New-AzSqlInstanceandSet-AzSqlInstancecmdlets - Added HighAvailabilityReplicaCount to
New-AzSqlDatabaseSecondary - Added External Administrator and AAD Only Properties to AzSqlServer and AzSqlInstance
- Added option to specify
-ExternalAdminName,-ExternalAdminSid,-EnableActiveDirectoryOnlyAuthenticationinNew-AzSqlInstanceandSet-AzSqlInstancecmdlets - Added option to expand external administrators information using
-ExpandActiveDirectoryAdministratorinGet-AzSqlServerandGet-AzSqlInstancecmdlets
- Added option to specify
- Fixed
Set-AzSqlDatabaseto no longer default ReadScale to Disabled when not specified - Fixed
Set-AzSqlServerandSet-AzSqlInstancefor partial PUT with only identity and null properties - Added parameters related to UMI in
New-AzSqlServer,New-AzSqlInstance,Set-AzSqlServerandSet-AzSqlInstancecmdlets. - Added -AutoRotationEnabled parameter to following cmdlets:
Set-AzSqlServerTransparentDataEncryptionProtectorGet-AzSqlServerTransparentDataEncryptionProtectorSet-AzSqlInstanceTransparentDataEncryptionProtectorGet-AzSqlInstanceTransparentDataEncryptionProtector
- Updated
Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaselinedocumentation to include example of define array of array with one inner array. - Added cmdlet
Copy-AzSqlDatabaseLongTermRetentionBackup- Copy LTR backups to different servers
- Added cmdlet
Update-AzSqlDatabaseLongTermRetentionBackup- Update Backup Storage Redundancy values for LTR backups
- Added CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to
Get-AzSqlDatabase,New-AzSqlDatabase,Set-AzSqlDatabase,New-AzSqlDatabaseSecondary,Set-AzSqlDatabaseSecondary,New-AzSqlDatabaseCopy- Changed BackupStorageRedundancy value to CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to reflect both the current value and what has been requested if a change was made
- Added new cmdlets
Get-AzSqlDatabaseLedgerDigestUpload,Disable-AzSqlDatabaseLedgerDigestUpload, andEnable-AzSqlDatabaseLedgerDigestUpload - Added -EnableLedger parameter to
New-AzSqlDatabase
- Added cmdlet output breaking change warnings to the following:
New-AzSqlDatabaseGet-AzSqlDatabaseSet-AzSqlDatabaseRemove-AzSqlDatabaseNew-AzSqlDatabaseSecondaryRemove-AzSqlDatabaseSecondaryGet-AzSqlDatabaseReplicationLinkNew-AzSqlDatabaseCopySet-AzSqlDatabaseSecondary
- Added cmdlet
New-AzSqlServerTrustGroup - Added cmdlet
Remove-AzSqlServerTrustGroup - Added cmdlet
Get-AzSqlServerTrustGroup
- Added MaintenanceConfigurationId to 'New-AzSqlDatabase', 'Set-AzSqlDatabase', 'New-AzSqlElasticPool' and 'Set-AzSqlElasticPool'
- Fixed regression in 'Set-AzSqlServerAudit' when PredicateExpression argument is provided
- Made
Start-AzSqlInstanceDatabaseLogReplaycmdlet synchronous, added -AsJob flag
- Fixed parameter description for
InstanceFailoverGroupcommand. - Updated the logic in which schemaName, tableName and columnName are being extracted from the id of SQL Data Classification commands.
- Fixed Status and StatusMessage fields in
Get-AzSqlDatabaseImportExportStatusto conform to documentation - Added Microsoft support operations (DevOps) auditing cmdlets: Get-AzSqlServerMSSupportAudit, Set-AzSqlServerMSSupportAudit, Remove-AzSqlServerMSSupportAudit
- Added SecondaryType to the following:
New-AzSqlDatabaseSet-AzSqlDatabaseNew-AzSqlDatabaseSecondary
- Added HighAvailabilityReplicaCount to the following:
New-AzSqlDatabaseSet-AzSqlDatabase
- Made ReadReplicaCount an alias of HighAvailabilityReplicaCount in the following:
New-AzSqlDatabaseSet-AzSqlDatabase
- Fixed issues where Set-AzSqlDatabaseAudit were not support Hyperscale database and database edition cannot be determined
- Added MaintenanceConfigurationId to 'New-AzSqlInstance' and 'Set-AzSqlInstance'
- Fixed a bug in GetAzureSqlDatabaseReplicationLink.cs where PartnerServerName parameter was being checked for by value instead of key
- Fixed issue where New-AzSqlDatabaseExport fails if networkIsolation not specified [#13097]
- Fixed issue where New-AzSqlDatabaseExport and New-AzSqlDatabaseImport were not returning OperationStatusLink in the result object [#13097]
- Update Azure Paired Regions URL in Backup Storage Redundancy Warnings
- Added BackupStorageRedundancy to the following:
Restore-AzureRmSqlDatabaseNew-AzSqlDatabaseCopyNew-AzSqlDatabaseSecondary
- Removed case sensitivity for BackupStorageRedundancy parameter for all SQL DB references
- Updated BackupStorageRedundancy warning message names
- Added support for Managed HSM Uris for SQL DB and Managed Instance
- Added warning for BackupStorageRedundancy configuration in select regions in
New-AzSqlDatabase(Ignore Case for BackupStorageRedundancy configuration input) - Fixed for bug in
New-AzSqlDatabaseExport - Removed case sensitivity for BackupStorageRedundancy parameter for
New-AzSqlInstance
- Added BackupStorageRedundancy to
New-AzSqlInstanceandGet-AzSqlInstance - Added cmdlet
Get-AzSqlServerActiveDirectoryOnlyAuthentication - Added cmdlet
Enable-AzSqlServerActiveDirectoryOnlyAuthentication - Added Force parameter to
New-AzSqlInstance - Added cmdlets for Managed Database Log Replay service
Start-AzSqlInstanceDatabaseLogReplayGet-AzSqlInstanceDatabaseLogReplayComplete-AzSqlInstanceDatabaseLogReplayStop-AzSqlInstanceDatabaseLogReplay
- Added cmdlet
Get-AzSqlInstanceActiveDirectoryOnlyAuthentication - Added cmdlet
Enable-AzSqlInstanceActiveDirectoryOnlyAuthentication - Added cmdlet
Disable-AzSqlInstanceActiveDirectoryOnlyAuthentication - Updated cmdlets
New-AzSqlDatabaseImportandNew-AzSqlDatabaseExportto support network isolation functionality - Added cmdlet
New-AzSqlDatabaseImportExisting - Updated Databases cmdlets to support backup storage type specification
- Added Force parameter to
New-AzSqlDatabase - Updated ActiveDirectoryOnlyAuthentication cmdlets for server and instance to include ResourceId and InputObject
- Added support for Managed HSM Uris for SQL DB and Managed Instance
- Fixed potential server name case insensitive error in
New-AzSqlServerandSet-AzSqlServer - Fixed wrong database name returned on existing database error in
New-AzSqlDatabaseSecondary - Added operation parameters and steps in
Get-AzSqlInstanceOperation
- Added support for Service principal and guest users in Set-AzSqlInstanceActiveDirectoryAdministrator cmdlet`
- Fixed a bug in Data Classification cmdlets.`
- Added support for Azure SQL Managed Instance failover:
Invoke-AzSqlInstanceFailover
- Added support for service principal for Set SQL Server Azure Active Directory Admin cmdlet
- Fixed sync issue in Data Classification cmdlets.
- Supported searching user by mail on
Set-AzSqlServerActiveDirectoryAdministrator[#12192]
- Added UsePrivateLinkConnection to
New-AzSqlSyncGroup,Update-AzSqlSyncGroup,New-AzSqlSyncMemberandUpdate-AzSqlSyncMember - Added SyncMemberAzureDatabaseResourceId to
New-AzSqlSyncMemberandUpdate-AzSqlSyncMember - Added Guest user lookup support to Set SQL Server Azure Active Directory Admin cmdlet
- Remove IsAzureADOnlyAuthentication parameter from Set-AzSqlServerActiveDirectoryAdministrator as it is not usable.
- Enhance performance of:
Set-AzSqlDatabaseSensitivityClassificationSet-AzSqlInstanceDatabaseSensitivityClassificationRemove-AzSqlDatabaseSensitivityClassificationRemove-AzSqlInstanceDatabaseSensitivityClassificationEnable-AzSqlDatabaseSensitivityRecommendationEnable-AzSqlInstanceDatabaseSensitivityRecommendationDisable-AzSqlDatabaseSensitivityRecommendationDisable-AzSqlInstanceDatabaseSensitivityRecommendation
- Removed client-side validation of 'RetentionDays' parameter from cmdlet
Set-AzSqlDatabaseBackupShortTermRetentionPolicy - Auditing to a storage account in Vnet, fixing a bug when creating a Storage Blob Data Contributor role.
- Allow Azure Active Directory applications to be set as SQL Server Azure Active Directory admin.
- Added cmdlets
Get-AzSqlInstanceOperationandStop-AzSqlInstanceOperation - Supported auditing to a storage account in VNet.
- Assign 'None' value as StorageKeyKind when a storage account under VNet is a target for the audit records.
- Added readable secondary parameter to
Invoke-AzSqlDatabaseFailover - Added cmdlet
Disable-AzSqlServerActiveDirectoryOnlyAuthentication - Saved sensitivity rank when classifying columns in the database.
- Added PublicNetworkAccess to
New-AzSqlServerandSet-AzSqlServer - Added support for Long Term Retention backup configuration for Managed Databases
- Get/Set LTR policy on a managed database
- Get LTR backup(s) by managed database, managed instance, or by location
- Remove an LTR backup
- Restore an LTR backup to create a new managed database
- Added MinimalTlsVersion to
New-AzSqlServerandSet-AzSqlServer - Added MinimalTlsVersion to
New-AzSqlInstanceandSet-AzSqlInstance - Bumped SQL SDK version for Az.Network
- Added support for cross subscription point in time restore on Managed Instances.
- Added support for changing existing Sql Managed Instance hardware generation
- Fixed
Update-AzSqlServerVulnerabilityAssessmentSettinghelp examples: parameter/property output - EmailAdmins - Updating Azure SQL Server Active Azure administrator API to use 2019-06-01-preview api version.
Fix New-AzSqlDatabaseSecondary cmdlet to check for PartnerDatabaseName existence instead of DatabaseName existence.
- Fix vulnerability assessment set baseline cmdlets functionality to work on master db for azure database and limit it on managed instance system databases.
- Fix an error when creating SQL instance failover group
- Added PartnerDatabaseName parameter to New-AzSqlDatabaseSecondary cmdlet.
- Update references in .psd1 to use relative path
- Upgraded storage creation in Vulnerability Assessment auto enablement to StorageV2
- Added support for database ReadReplicaCount.
- Fixed Set-AzSqlDatabase when zone redundancy not set
- Added support for restore of dropped databases on Managed Instances.
- Deprecated from code old auditing cmdlets.
- Removed deprecated aliases:
- Get-AzSqlDatabaseIndexRecommendations (use Get-AzSqlDatabaseIndexRecommendation instead)
- Get-AzSqlDatabaseRestorePoints (use Get-AzSqlDatabaseRestorePoint instead)
- Remove Get-AzSqlDatabaseSecureConnectionPolicy cmdlet
- Remove aliases for deprecated Vulnerability Assessment Settings cmdlets
- Deprecate Advanced Threat Detection Settings cmdlets
- Adding cmdlets to Disable and enable sensitivity recommendations on columns in a database.
- Fix a small bug when reading auditing settings of a server or a database.
- Add support for setting Active Directory Administrator on Managed Instance
- Update example in reference documentation for
Get-AzSqlElasticPool - Added vCore example to creating an elastic pool (New-AzSqlElasticPool).
- Remove the validation of EmailAddresses and the check that EmailAdmins is not false in case EmailAddresses is empty in Set-AzSqlServerAdvancedThreatProtectionPolicy and Set-AzSqlDatabaseAdvancedThreatProtectionPolicy
- Enabled removal of server/database auditing settings when multiple diagnostic settings that enable audit category exist.
- Fix email addresses validation in multiple Sql Vulnerability Assessment cmdlets (Update-AzSqlDatabaseVulnerabilityAssessmentSetting, Update-AzSqlServerVulnerabilityAssessmentSetting, Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting and Update-AzSqlInstanceVulnerabilityAssessmentSetting).
- Update documentation of old Auditing cmdlets.
- Add Azure Sql Instance pools cmdlets
- Add Azure Sql Instance pool usages cmdlets
- Update Azure Sql Managed instance cmdlets to support instance pools
- Fixed miscellaneous typos across module
- Add failover database and elastic pool new cmdlets.
- Add optional resource group parameter to Get-DatabaseLongTermRetentionBackup and Remove-DatabaseLongTermRetentionBackup cmdlets
- Add Azure Sql Elastic Jobs cmdlets
- Fix missing examples for Set-AzSqlDatabaseSecondary cmdlet
- Fix set Vulnerability Assessment recurring scans without providing any email addresses
- Fix a small typo in a warining message.
- Add Instance Failover Group cmdlets from preview release to public release
- Support Azure SQL Server\Database Auditing with new cmdlets.
- Set-AzSqlServerAudit
- Get-AzSqlServerAudit
- Remove-AzSqlServerAudit
- Set-AzSqlDatabaseAudit
- Get-AzSqlDatabaseAudit
- Remove-AzSqlDatabaseAudit
- Remove email constraints from Vulnerability Assessment settings
- Fix Advanced Threat Protection storage endpoint suffix
- Fix Advanced Data Security enable overrides Advanced Threat Protection policy
- New Cmdlets for Management.Sql to allow customers to add TDE keys and set TDE protector for managed instances
- Add-AzSqlInstanceKeyVaultKey
- Get-AzSqlInstanceKeyVaultKey
- Remove-AzSqlInstanceKeyVaultKey
- Get-AzSqlInstanceTransparentDataEncryptionProtector
- Set-AzSqlInstanceTransparentDataEncryptionProtector
- Add DnsZonePartner Parameter for New-AzureSqlInstance cmdlet to support AutoDr for Managed Instance.
- Deprecating Get-AzSqlDatabaseSecureConnectionPolicy cmdlet
- Rename Threat Detection cmdlets to Advanced Threat Protection
- New-AzSqlInstance -StorageSizeInGB and -LicenseType parameters are now optional.
- Fix issue in reference documentation for
Enable-AzSqlServerAdvancedDataSecurity
- Rename Advanced Threat Protection cmdlets to Advanced Data Security and enable Vulnerability Assessment by default
- Replace dependency on Monitor SDK with common code
- Updated cmdlets with plural nouns to singular, and deprecated plural names.
- Enhanced process of multiple columns classification.
- Include sku properties (sku name, family, capacity) in response from Get-AzSqlServerServiceObjective and format as table by default.
- Ability to Get-AzSqlServerServiceObjective by location without needing a preexisting server in the region.
- Support for time zone parameter in Managed Instance create.
- Fix documentation for wildcards
- Support of Serverless specific parameters in New-AzSqlDatabase and Set-AzSqlDatabase
- Support Database Data Classification.
- Add Get/Remove AzSqlVirtualCluster cmdlets.
- Add Vulnerability Assessment cmdlets on Server and Managed Instance
- changed Threat Detection's cmdlets param (ExcludeDetectionType) from DetectionType to string[] to make it future proof when new DetectionTypes are added and to support autocomplete as well.
- Updating AuditingEndpointsCommunicator.
- Fixing the behavior of an edge case while creating new diagnostic settings.
- Add support for restore an instance database from geo-redundant backups
- Add support for backup short term retention on Managed Instance
- Add support for SQL DB Hyperscale tier
- Fixed bug where restore could fail due to setting unnecessary properties in restore request
- Add Get/Set AzSqlDatabaseBackupShortTermRetentionPolicy
- Fix issue where not being logged into Azure account would result in nullref exception when executing SQL cmdlets
- Fixed null ref exception in Get-AzSqlCapability
- Support Database/Server auditing to event hub and log analytics.
- Update incorrect online help URLs
- Updated parameter description for LicenseType parameter with possible values
- Fix for updating managed instance identity not working when it is the only updated property
- Support for custom collation on managed instance
- Converted the Storage management client dependency to the common SDK implementation.
- General availability of
Az.Sqlmodule - Added new Data_Exfiltration and Unsafe_Action detection types to Threat Detection's cmdlets
- Removed -State and -ResourceId parameters from Set-AzSqlDatabaseBackupLongTermRetentionPolicy
- Removed deprecated cmdlets: Get/Set-AzSqlServerBackupLongTermRetentionVault, Get/Start/Stop-AzSqlServerUpgrade, Get/Set-AzSqlDatabaseAuditingPolicy, Get/Set-AzSqlServerAuditingPolicy, Remove-AzSqlDatabaseAuditing, Remove-AzSqlServerAuditing
- Removed deprecated parameter "Current" from Get-AzSqlDatabaseBackupLongTermRetentionPolicy
- Removed deprecated parameter "DatabaseName" from Get-AzSqlServerServiceObjective
- Removed deprecated parameter "PrivilegedLogin" from Set-AzSqlDatabaseDataMaskingPolicy
- Modified documentation of examples related to SQL Auditing cmdlets.