MSSQL trigger can't connect to SQL Server on Azure using azure-workload auth #6104
Labels
feature-request
All issues for new features that have not been committed to
good first issue
Good for newcomers
help wanted
Looking for support from community
Report
We have a managed identity
keda-dev
that we use successfully via theazure-workload
provider to auth against ServiceBus. However, when attempting to use the same managed identity via TriggerAuthentication with themssql
trigger type against an Azure-hosted database (and after adding the appropriate DB permissions), the SQL login is failing.Expected Behavior
I didn't see anything in the documentation that says whether this is expected to work or not work, but I would generally expect the
mssql
trigger type to support theazure-workload
auth provider, especially when the database being targeted is hosted on Azure.Actual Behavior
We are receiving an error from KEDA:
error establishing mssql connection: mssql: login error: Login failed for user ''.
Steps to Reproduce the Problem
mssql
and anazure-workload
auth provider, using the managed identity's client id as theidentityId
Logs from KEDA operator
KEDA Version
2.14.1
Kubernetes Version
1.29
Platform
Microsoft Azure
Scaler Details
MSSQL
Anything else?
Here are the manifests I'm using, with some information redacted...
The text was updated successfully, but these errors were encountered: