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
posta un anno fa275 visualizzazioni
2 Risposte
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
con risposta un anno fa
0

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

AWS
con risposta un anno fa
  • I did . A lot of these services are not available in my region.. and I have everything disabled in the console

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande