Hi Folks,
Just trying to create a new Azure SQL Server by using New-AzureRmSQLServer. The username and password are already available in variables. I’m trying code like this:
Create the administrator credentials
$secureAdministratorPassword = ConvertTo-SecureString $administratorPassword -AsPlainText -Force
$sqlServerAdministratorCredentials = New-Object PSCredential($administratorUserName, $secureAdministratorPassword)
Create the SQL Server
New-AzureRmSQLServer -ServerName $sqlServerName -SqlAdministratorCredentials $sqlServerAdministratorCredentials
-Location $datacentreLocation `
-ResourceGroupName $resourceGroupName
But I’m ending up with the following error that really doesn’t give much of a clue about the issue:
New-AzureRmSQLServer : Method ‘get_SerializationSettings’ in type ‘Microsoft.Azure.Management.Sql.SqlManagementClient’
from assembly ‘Microsoft.Azure.Management.Sql, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ does
not have an implementation.
Is there a wrong version of one of the dependencies?
Thanks,
Greg