Unable to delete Managed AD Directory

0

Hello I'm trying to delete unused managed AD directory I get error message: "Cannot delete the directory because it still has authorized applications. : RequestId: 8303df88-c4c2-4a3a-bdb1-de8305377158"

When viewing apps and services on the directory in question, all applications have status disabled.

I would appreciate any help on how to delete this.

Marwen

Marwen
asked a year ago264 views
2 Answers
0

can u try running this command and replace <directory-id> with the ID of your AWS managed AD directory. This command will return a list of all the authorized applications that have been granted access to your directory. Maybe some of them u dont see in the AWS Console?

aws ds list-applications --directory-id <directory-id> 

If you have a large number of applications, you can use the --output parameter to customize the output format. For example, you can use the following command to display the output in a table format:

aws ds list-applications --directory-id <directory-id> --output table

profile pictureAWS
Niko
answered a year ago
0

Kindly check through this steps to delete your directory- https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_delete.html

AWS
answered a year ago
  • I did . A lot of these services are not available in my region.. and I have everything disabled in the console

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions