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
Honored Contributor III

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
Honored Contributor III

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 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!