unable to delete user profile from sage maker


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

2 Risposte
Risposta accettata

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.

con risposta 3 mesi fa


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.



profile pictureAWS
con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande