Skip to content
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: login error: Login failed for user '<token-identified principal>' #76

Open
JoshDouglasOU opened this issue Jan 23, 2024 · 0 comments

Comments

@JoshDouglasOU
Copy link

JoshDouglasOU commented Jan 23, 2024

azure_login {
tenant_id = var.base_info.tenant_id
client_id = data.azurerm_key_vault_secret.sqladdusersclientid.value
client_secret = data.azurerm_key_vault_secret.sqladduserstoken.value
}

i'm grabbing the client id and secret from kv. this the id of the service principal that has AD read rights this service principal is in the group that is MS Entra Admin on the server

my error is
mssql: login error: Login failed for user ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant