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

preguntada hace 4 meses700 visualizaciones
2 Respuestas
1
Respuesta aceptada

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.

ezail
respondido hace 4 meses
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
EXPERTO
respondido hace 4 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas