You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring:
When using the cmdlet New-SqlAvailabilityGroup, from the SqlServer PowerShell module, to create an availability group on SQL Server 2014, the command fails with the error.
The parameter BasicAvailabilityGroup is not used in the command. Even setting BasicAvailabilityGroup to $false generates this error.
New-SqlAvailabilityGroup : Cannot write property BasicAvailabilityGroup.This property is not available onSQL Server 2014.
At line:1 char:21
+ ... New-SqlAvailabilityGroup @newAvailabilityGroupParams -Err ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [New-SqlAvailabilityGroup], UnknownPropertyException
+ FullyQualifiedErrorId : ExecutionFailed,Microsoft.SqlServer.Management.PowerShell.Hadr.NewSqlAvailabilityGroupCommand
The DSC configuration that is using the resource (as detailed as possible):
Any configuration creating an availability group, on SQL Server 2014 with SqlServer PowerShell module installed.
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Windows Server 2012 R2, SQL Server 2014 SP2 CU6, PowerShell 5.0.
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
SqlServer
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev
The text was updated successfully, but these errors were encountered:
Details of the scenario you tried and the problem that is occurring:
When using the cmdlet New-SqlAvailabilityGroup, from the SqlServer PowerShell module, to create an availability group on SQL Server 2014, the command fails with the error.
The parameter
BasicAvailabilityGroup
is not used in the command. Even settingBasicAvailabilityGroup
to $false generates this error.Repro code:
Error:
The DSC configuration that is using the resource (as detailed as possible):
Any configuration creating an availability group, on SQL Server 2014 with SqlServer PowerShell module installed.
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Windows Server 2012 R2, SQL Server 2014 SP2 CU6, PowerShell 5.0.
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
SqlServer
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev
The text was updated successfully, but these errors were encountered: