aws / amazon-sagemaker-feedback

Amazon SageMaker Public Feedback Dashboard
Creative Commons Attribution Share Alike 4.0 International
6 stars 1 forks source link

aws failing to delete user #113

Open tconne62 opened 4 months ago

tconne62 commented 4 months ago

Product Version

Issue Description

ResourceInUse Unable to delete UserProfile [arn:aws:sagemaker:us-east-1:089497538711:user-profile/d-93ieiwizyjyp/default-20240725t130739] because App(s) are associated with it. Amazon SageMaker Studio Classic can not be opened for this user so that means the apps is corrupted but stil cannot be deleted

Expected Behavior

Amazon SageMaker Studio Classic should be open but shows error for this user

Observed Behavior

Please advise

Product Category

No response

Feedback Category

No response

Other Details

No response

SGhotra1 commented 2 months ago

I had similar issues. The workaround that worked for me was to use the CLI to delete the App that is currently in use (and also the space associated to the app) before deleting the user.

aws sagemaker list-apps
aws sagemaker delete-app
aws sagemaker list-spaces
aws sagemaker delete-space