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

Anonymous
Not applicable
 

Ryan_Chynoweth
Databricks Employee
Databricks Employee

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

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