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

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