unable to delete user profile from sage maker

0

Hi , I am trying to delete sage maker domain , I have two users in that , when I am trying to delete users I am getting this error .

ResourceInUse Unable to delete UserProfile [arn:aws:sagemaker:us-east-1:89137692416eex:user-profile/d-4jle5huqch0f/test38] because Space(s) are associated with it.

I haven't see any spaces associated in the domain . I am unable understand what exactly happening

asked a year ago2.2K views
3 Answers
1
Accepted Answer

I met the same problem with you, it worked by the next steps

use aws cli and check spaces attached on the user, which may not be visible on console

aws sagemaker list-spaces

find the spaces in service attached on the user

aws sagemaker delete-space --domain-id DomainId --space-name SpaceName

and delete the user on console or aws cli

I guess that SPACE concept is born in the latest release version of sagemaker studio, but only the original SHARED SPACE is visible on the console .

hope it works to you.

answered a year ago
profile pictureAWS
EXPERT
reviewed 2 months ago
0

Hi,

Can you try to follow this guidance from service documentation: https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-delete-domain.html#gs-studio-delete-domain-studio ?

It is spot on with what you are trying to achieve.

Best,

Didier

profile pictureAWS
EXPERT
answered a year ago
0

Didier's answer works for me. More precisely, you need to delete the user profile and the space at first, they can respectively be found in "User profiles" and "Space management" tabs after you have clicked on the domain name that you want to delete (not check the box, but click the name to enter the another page.

After you have delete the two, you can go to the first tab showing "General settings " to delete the domain, where the "delete" buttom is not at the top right or bottom right, but a little lower position that you can found when you scroll down the page.

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions