WorkspaceException Class

An exception related to failures creating or getting a workspace. This exception is commonly raised related to permissions and resourcing. Ensure that the resource group exists if specified and that the authenticated user has access to the subscription.

Workspace names are unique within a resource group.

Initialize a new instance of WorkspaceException.

Inheritance
azureml._common.exceptions.AzureMLException
WorkspaceException

Constructor

WorkspaceException(exception_message, found_multiple=False, **kwargs)

Parameters

exception_message
str
Required

A message describing the error.

found_multiple
bool
default value: False

Specifies whether multiple workspaces were found.

exception_message
str
Required

A message describing the error.

found_multiple
bool
Required

Specifies whether multiple workspaces were found.