I have used SSMS to encrypt database column and have use key Vault to store the encrypted keys. SSMS Wizard give an option to create a Powershell Script which can be used later to do the same encryption.
I have the latest module and also can see the Keyvalut token.
When I trying to run powershell script. It is throwing error on this piece of code.
Set-SqlColumnEncryption -ColumnEncryptionSettings $ces1,$ces2,$ces3,$ces4 -LogFileDirectory .-InputObject $database -KeyVaultAccessToken $keyVaultAccessToken
method not found: 'void microsoft.data.sqlclient.alwaysencrypted.azurekeyvaultprovider.sqlcolumnencryptionazurekeyvaultprovider..ctor(azure.core.tokencredential)
Has anyone encountered this problem.?
Thanks