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

Name Description
exception_message
Required
str

A message describing the error.

found_multiple

Specifies whether multiple workspaces were found.

Default value: False
exception_message
Required
str

A message describing the error.

found_multiple
Required

Specifies whether multiple workspaces were found.