I am using Kentico 13 and trying to connect to the Azure SQL database using managed identity in my localhost environment using the below connection string.
"Server=tcp:<MyServer>.database.windows.net,1433;Initial Catalog=<MyDB>;Authentication=Active Directory Device Code Flow;"
I am getting the below error
CMS.DataEngine.ApplicationInitException: 'Keyword not supported: 'authentication'.'
How can I get past this error or is there any other way to connect to the database using managed Identity?
I would try searching on Google or MSDN pages as this is more related to Azure SQL and not Kentico. E.g. I found this: Tutorial: Use a Windows VM system-assigned managed identity to access Azure SQL or Managed identities in Azure AD for Azure SQL and as it looks like, you need to use Azure AD. Local identities are probably not supported. I would maybe ask Azure SQL support.