Tried to delete a 'hub' resource got the following error:
<resource_name>: AI hub still has associated AI projects: /subscriptions/<substcription>/resourceGroups/<resource_group_name>/providers/Microsoft.MachineLearningServices/workspaces/<workspace_name> in Active state. Please hard delete it first (Code: ValidationError)
But I can´t find the workspace (<workspace_name>) in Azure Portal. So, tried a hard delete using CLI:
az ml workspace delete --resource-group <resource_group_name> --workspace-name <workspace_name> --no-wait
and got the following error:
ProjectSystemException:
Message: Workspace not found.
InnerException None
ErrorResponse
{
"error": {
"message": "Workspace not found."
}
}
So, I can´t delete the resource group too. I will appreciate if anyone can help.
Tried:
az resource delete --name xpto-hub-dev --resource-group xpto-dev --verbose --resource-type Microsoft.MachineLearningServices/workspaces
And got: "AI hub still has associated AI projects: /subscriptions/.../resourceGroups/xpto-dev/providers/Microsoft.MachineLearningServices/workspaces/xpto-hub-dev-proj in Active state. Please hard delete it first"
But, actually, there is no such project 'xpto-hub-dev-proj'. It has been deleted and I can´t find it anywhere (using Portal or CLI).