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
질문됨 일 년 전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
답변함 일 년 전
0

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

AWS
답변함 일 년 전
  • I did . A lot of these services are not available in my region.. and I have everything disabled in the console

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인