Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot Delete AWS Directory

I want to delete an aws directory but when I try, it gives me this error:

enter image description here

An Error Has Occurred

Cannot delete the directory because it still has authorized applications. Please deregister the directory before proceeding.

As it has said in the error message, I have to deregister it to be able to delete it. However, the directory is not even registered! and the 'Deregister' command is grayed out: enter image description here

I also went into the 'Applications' section (in the left pane) and found no application.

What's going on here?

like image 756
Kamran Bigdely Avatar asked Oct 19 '25 17:10

Kamran Bigdely


2 Answers

This issue seems to be a shortcoming from Amazon. Amazon should have given me a proper error message. Anyway, I noticed that if I go to AWS Directory Service and try to delete the directory, it explains me the root of the issue:

enter image description here

So I went to AWS WorkDocs Service and deleted it:

enter image description here

like image 126
Kamran Bigdely Avatar answered Oct 21 '25 06:10

Kamran Bigdely


I had the same issue. I checked WorkDocs and there were no sites that I could delete. I had to create a new site and then go through the steps of deleting and selecting delete the user directory.

like image 34
BWolff Avatar answered Oct 21 '25 08:10

BWolff