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
gefragt vor einem Jahr275 Aufrufe
2 Antworten
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
beantwortet vor einem Jahr
0

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

AWS
beantwortet vor einem Jahr
  • I did . A lot of these services are not available in my region.. and I have everything disabled in the console

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen