Getting this error when I trying to Alter a column in a table to encrypt it using Always Encryption Key.
my sample query is:
ALTER TABLE [dbo].[CRM_Customers]
ALTER COLUMN [AlternatePhoneNumber] nvarchar COLLATE Latin1_General_BIN2
ENCRYPTED WITH (COLUMN_ENCRYPTION_KEY = [CEK1], ENCRYPTION_TYPE = Deterministic, ALGORITHM = 'AEAD_AES_256_CBC_HMAC_SHA_256') NULL
WITH
(ONLINE = ON);
ALTER DATABASE SCOPED CONFIGURATION CLEAR PROCEDURE_CACHE;
GO
Getting following error: