cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.