Title: Auth token warning using oauth M2M · Issue #702 · databricks/databricks-sql-python · GitHub
Open Graph Title: Auth token warning using oauth M2M · Issue #702 · databricks/databricks-sql-python
X Title: Auth token warning using oauth M2M · Issue #702 · databricks/databricks-sql-python
Description: This was originally posted in dbt-databricks project and I was asked to cross post i here. Related to: databricks/dbt-databricks#1246 When running dbt in an Azure Devops Agent (for continues integration reasons) I get this warning: 09:13...
Open Graph Description: This was originally posted in dbt-databricks project and I was asked to cross post i here. Related to: databricks/dbt-databricks#1246 When running dbt in an Azure Devops Agent (for continues integr...
X Description: This was originally posted in dbt-databricks project and I was asked to cross post i here. Related to: databricks/dbt-databricks#1246 When running dbt in an Azure Devops Agent (for continues integr...
Opengraph URL: https://github.com/databricks/databricks-sql-python/issues/702
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auth token warning using oauth M2M","articleBody":"This was originally posted in dbt-databricks project and I was asked to cross post i here.\n\nRelated to: https://github.com/databricks/dbt-databricks/issues/1246\n\nWhen running dbt in an Azure Devops Agent (for continues integration reasons) I get this warning:\n\n```\n09:13:52 Concurrency: 6 threads (target='test')\n09:13:52 \n09:13:53 databricks-sql-connector adapter: Token exchange failed, using external token: %s\nWARNING:databricks.sql.auth.token_federation:Token exchange failed, using external token: 'access_token'\n```\nIt still works, the project runs, but I would like to understand what might be happening here.\nI am not able to reproduce this on my local machine using the same M2M profile.\nMaybe you can point me in the right direction?\n\nProfile using an azure service principal:\n```\n test:\n host: the_host\n http_path: the_path\n catalog: the_catalog\n schema: test\n threads: 6\n type: databricks\n auth_type: oauth\n azure_client_id: \"{{ env_var('DATABRICKS_CLIENT_ID') }}\"\n azure_client_secret: \"{{ env_var('DATABRICKS_CLIENT_SECRET') }}\"\n```\n\nPython 3.11.13\nRunning with dbt=1.10.8\nRegistered adapter: databricks=1.10.9\n\nThe Devops Azure Agent runs an ubuntu-24.04 Image\nVersion: 20250929.60.1","author":{"url":"https://github.com/septponf","@type":"Person","name":"septponf"},"datePublished":"2025-10-30T16:39:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/702/databricks-sql-python/issues/702"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b5914da0-d3ec-164f-4f1e-4a900e8f3187 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8904:A471E:2B769A7:3D18937:697107CA |
| html-safe-nonce | 9b26afb39626efd201f5d5d4249d61233f0d04d57b782405c4f0227f90677189 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTA0OkE0NzFFOjJCNzY5QTc6M0QxODkzNzo2OTcxMDdDQSIsInZpc2l0b3JfaWQiOiI1OTcyNjE5OTMzNDc5MTQzMzcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2bcd62debec0ee49274b6e77e595b38d741e9cb7487d6dbaeb8d78c6c529f6c2 |
| hovercard-subject-tag | issue:3571621101 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/databricks/databricks-sql-python/702/issue_layout |
| twitter:image | https://avatars.githubusercontent.com/u/4998052?s=400&v=4 |
| twitter:card | summary |
| og:image | https://avatars.githubusercontent.com/u/4998052?s=400&v=4 |
| og:image:alt | This was originally posted in dbt-databricks project and I was asked to cross post i here. Related to: databricks/dbt-databricks#1246 When running dbt in an Azure Devops Agent (for continues integr... |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | septponf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d0e7b0d5e294a53c55f49e80755e785182080c6e6a48c9ed353bedddaee69f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/databricks/databricks-sql-python git https://github.com/databricks/databricks-sql-python.git |
| octolytics-dimension-user_id | 4998052 |
| octolytics-dimension-user_login | databricks |
| octolytics-dimension-repository_id | 493695132 |
| octolytics-dimension-repository_nwo | databricks/databricks-sql-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 493695132 |
| octolytics-dimension-repository_network_root_nwo | databricks/databricks-sql-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d5a3a396bc74e65fd3ef897b0a99a6e489debaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width