SQL Trigger Azure function connection string when running it from Visual Studio #958
-
I am running Sql Trigger Azure function from visual studio and it is failing with sql connection string. On the sql database, sql login has been disabled. When i tried the following connection string: What's the best right sql connection when I run sql trigger azure function from visual studio? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @basigu, here is an article with steps to use Managed Identity with SQL Bindings: https://learn.microsoft.com/en-us/azure/azure-functions/functions-identity-access-azure-sql-with-managed-identity. |
Beta Was this translation helpful? Give feedback.
Can you try "Server=demo.database.windows.net; Authentication=Active Directory Default; Database=testdb"?