- Newest
- Most votes
- Most comments
Hello,
To delete a directory follow the below steps,
Delete all WorkSpaces in the directory- https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces.html
Find and remove all of the applications and services that are registered to the directory. For more information, see Delete Your Directory in the AWS Directory Service Administration Guide -- https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_delete.html
Open the WorkSpaces console at https://console.aws.amazon.com/workspaces/.
In the navigation pane, choose Directories.
Select the directory and choose Actions, Deregister.
When prompted for confirmation, choose Deregister.
Select the directory again and choose Actions, Delete.
When prompted for confirmation, choose Delete.
Let me know if this works & you can also reach out to AWS Support, if this does not work.
Please click Accept Answer if you found this helpful !!
Correcting my answer as I overlooked the questions.
- Make sure the directory is in active state.
- Use AWS CLI to describe the Workspaces and check if there are any Workspaces still deployed in the directory.
- If you find any workspaces still deployed, terminate them using AWS CLI.
- Then deregister the directory.
- If the issue still persists, please open a support case.
Relevant content
- Accepted Answerasked 6 months ago
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 13 days ago
It's not working, I tried this. All of my workspaces are deleted, no workspaces, bundle, images are available, still while trying to deregister the directory, I'm getting error.