-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSSQL trigger can't connect to SQL Server on Azure using azure-workload auth #6104
Comments
Hello, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. |
Hi Team, |
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: