Skip to content

dbt debug connection error with OAuth AAD Service Principal #1005

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

Open
turagittech opened this issue Apr 29, 2025 · 1 comment
Open

dbt debug connection error with OAuth AAD Service Principal #1005

turagittech opened this issue Apr 29, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@turagittech
Copy link

turagittech commented Apr 29, 2025

Describe the bug

dbt debug connection error with OAuth AAD Service Principal

Steps To Reproduce

I have a VM as an Azure DevOps build server. Databricks is fully secured with no public endpoints. I cannot successfully connect dbt with OAuth from VM even though the VM can connect to Databricks through the web UI in a browser and to the server via Databricks CLI using the Oauth credentials which are failing when using dbt.

Expected behavior

dbt debug to run and connect successfully

Screenshots and log output

Image

System information

The output of dbt --version:

WARNING:thrift.transport.sslcompat:using legacy validation callback
/mnt/c/apps/agent/_work/r6/a/SEMPHN_Migrations_dbt/semphn/dbtenv/lib/python3.12/site-packages/pydantic/_internal/_config.py:373: UserWarning: Valid config keys have changed in V2:
* 'allow_population_by_field_name' has been renamed to 'validate_by_name'
  warnings.warn(message, UserWarning)
Core:
  - installed: 1.9.4
  - latest:    1.9.4 - Up to date!

Plugins:
  - databricks: 1.10.0 - Up to date!
  - spark:      1.9.2  - Up to date!

The operating system you're using:
Windows Subsystem for Linux Distributions:
Ubuntu-24.04 (Default)
on Windows Server 2022
The output of python --version:
WARNING:thrift.transport.sslcompat:using legacy validation callback
/mnt/c/apps/agent/_work/r6/a/SEMPHN_Migrations_dbt/semphn/dbtenv/lib/python3.12/site-packages/pydantic/_internal/_config.py:373: UserWarning: Valid config keys have changed in V2:

  • 'allow_population_by_field_name' has been renamed to 'validate_by_name'
    warnings.warn(message, UserWarning)
    Core:
    • installed: 1.9.4
    • latest: 1.9.4 - Up to date!

Plugins:

  • databricks: 1.10.0 - Up to date!
  • spark: 1.9.2 - Up to date!

Additional context

Nothing here

@turagittech turagittech added the bug Something isn't working label Apr 29, 2025
@benc-db
Copy link
Collaborator

benc-db commented Apr 29, 2025

@eric-wang-1990 do you have any ideas what may be the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants