Returns a Workspace object for an existing Azure Machine Learning workspace. Throws an exception if the workpsace doesn't exist or the required fields don't lead to a uniquely identifiable workspace.

get_workspace(name, auth = NULL, subscription_id = NULL, resource_group = NULL)



A string of the workspace name to get.


The ServicePrincipalAuthentication or InteractiveLoginAuthentication object. For more details refer to If NULL, the default Azure CLI credentials will be used or the API will prompt for credentials.


A string of the subscription ID to use. The parameter is required if the user has access to more than one subscription.


A string of the resource group to use. If NULL the method will search all resource groups in the subscription.


The Workspace object.

See also

create_workspace() service_principal_authentication() interactive_login_authentication()