Error: Node.js SQL Driver auth using M2M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 02:38 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 02:51 AM
The same credentials work fine using the CLI (M2M)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2024 10:17 AM
Not sure if you're still suck on this but I had the same issue and managed to resolve it by adding

