Azure SQL Managed Instance - Unable to create Symmetric key and Certificate for Microsoft Entra Service Principles and Azure Active Directory Integrated authentication
Abhishek Modi (amodi)
0
Reputation points
Hi Team,
I am working on Azure SQL Managed Instance and trying to run the SQL statement below from the SQL server with Microsoft Entra Service Principles authentication in the Azure Managed Instance environment but getting an error - 'Cannot find the user 'xxxx-xxxx', because it does not exist or you do not have permission.'
USE [master];
GO
CREATE SYMMETRIC KEY [TestMISQL] AUTHORIZATION [AppId]
WITH ALGORITHM = AES_128,
KEY_SOURCE = N'1',
IDENTITY_VALUE = N'123'
ENCRYPTION BY PASSWORD = 'Test@123'
GO
Please find the screenshot below for reference -
Please suggest on the above query.
Thanks,
Abhishek Modi
Sign in to answer