cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

If I know the workspaceID, how can I figure out the the respective Databricks workspace URL?

Anonymous
Not applicable
 
1 ACCEPTED SOLUTION

Accepted Solutions

Ryan_Chynoweth
Esteemed Contributor

I do not believe this is possible.

Workspace URLs are of the format https://<databricks-instance>/?o=6280049833385130, where 6280049833385130 is the workspace id. So in order to get the URL you will need to know the instance name as well.

In Azure URLs have the following format: adb-<workspace-id>.<random-number>.azuredatabricks.net.

View solution in original post

2 REPLIES 2

Ryan_Chynoweth
Esteemed Contributor

I do not believe this is possible.

Workspace URLs are of the format https://<databricks-instance>/?o=6280049833385130, where 6280049833385130 is the workspace id. So in order to get the URL you will need to know the instance name as well.

In Azure URLs have the following format: adb-<workspace-id>.<random-number>.azuredatabricks.net.

wmespi
New Contributor II

Is this random number not possible to extract from the notebook context? It is available in the browser_hash but that is not populated when running a job.

Is this random number static or does it change over time? If it is static, it can then be hardcoded

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now