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
已提问 1 年前275 查看次数
2 回答
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
已回答 1 年前
0

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

AWS
已回答 1 年前
  • I did . A lot of these services are not available in my region.. and I have everything disabled in the console

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则