- 3972 Views
- 15 replies
- 4 kudos
hello everyone, I'm trying use spotify's api to analyse my music data, but i'm receiving a error during authentication, specifically when I try get the token, above my code.Is it a databricks bug?pip install spotipyfrom spotipy.oauth2 import SpotifyO...
- 3972 Views
- 15 replies
- 4 kudos
- 36837 Views
- 13 replies
- 8 kudos
I am trying to generate a Databricks token for a service principal (SP). I have created the SP in Azure AD and have used the Databricks rest api to add it as an admin.When using the Databricks rest API "/api/2.0/token-management/on-behalf-of/tokens" ...
- 36837 Views
- 13 replies
- 8 kudos
Latest Reply
Hi all,I believe I found a temporary fix for this -Generate an AAD token for the service principle in Azure. Follow this guide if you don't know how to -https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-toke...
12 More Replies
by
elgeo
• Valued Contributor II
- 4443 Views
- 1 replies
- 3 kudos
Hello. I need to install Databricks CLI. While I am trying to generate new access token (User Settings->Generate new token) I get the following error:Could not create token with comment "cli" and lifetime (seconds) of 86400.I tried with different com...
- 4443 Views
- 1 replies
- 3 kudos
Latest Reply
Please check in the Admin console that tokens are enabled and that you can manage them.
- 1595 Views
- 0 replies
- 0 kudos
Hi,I'm very new to Terraform. Currently, I'm trying to automate the service principal setup process using Terraform.Following this example, I successfully created a service principal and an access token. However, when I tried adding databricks_git_cr...
- 1595 Views
- 0 replies
- 0 kudos
- 24357 Views
- 16 replies
- 10 kudos
from databricks import sql
hostname = '<name>.databricks.com'
http_path = '/sql/1.0/endpoints/<endpoint_id>'
access_token = '<personal_token>'
connection = sql.connect(server_hostname=hostname, http_path=http_path, access_token=access_token)
cu...
- 24357 Views
- 16 replies
- 10 kudos
Latest Reply
Hi @Borislav Blagoev ,Thanks very much for taking the time to collect these logs.The problem here (as indicated by the `IpAclValidation` message) is that IP allow listing (enabled for your workspace) will not allow arbitrary connections from Spark c...
15 More Replies