cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error: Node.js SQL Driver auth using M2M

ossinova
Contributor II

I am trying to follow the documentation in order to establish a M2M authentication through the Node.js SQL Driver. I am however having issues as it results in the following error message. What is it that I am not seeing here?

Error msg:

{"level":"info","message":"Created DBSQLClient"}
{"level":"info","message":"DBSQLClient: initializing thrift client"}
OPError: invalid_request (AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials. Trace ID: 5545d0f4-6f9e-4de4-bf3b-10dcda1c0e00 Correlation ID: b70cbffc-d079-448f-bc8c-70d39ef882c5 Timestamp: 2024-03-18 09:21:41Z)

2 REPLIES 2

ossinova
Contributor II

The same credentials work fine using the CLI (M2M)

 

ta2
New Contributor II

Not sure if you're still suck on this but I had the same issue and managed to resolve it by adding 

azureTenantId: <my-tenant-id> and useDatabricksOAuthInAzure: true in the client connection options. Hope this helps!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group