- Newest
- Most votes
- Most comments
Based on the error message "Cannot index into a null array" and the context you've provided, this appears to be a parsing issue rather than an actual DCDiag failure. The fact that DCDiag passes locally on your domain controllers but fails during the AWS Directory Assessment strongly suggests that the AWS testDcDiag script is encountering unexpected output format.
The Korean-localized Windows Server systems are very likely the root cause of this issue. The AWS Directory Assessment testDcDiag test appears to expect English-language output from the DCDiag command. When the script receives Korean-localized output instead, it cannot properly parse the results, leading to the "Cannot index into a null array" error when it tries to access expected array elements that don't exist due to the parsing failure.
This is an internal exception within the AWS assessment framework rather than a genuine Active Directory health issue. Your local validation confirms that your domain controllers are functioning correctly - DCDiag passes, replication is healthy, SYSVOL and NETLOGON are accessible, and DNS records are properly configured.
To resolve this issue and successfully create your hybrid directory, you should contact AWS Support. They can either:
- Provide guidance on temporarily changing the system locale to English for the assessment
- Work with the service team to address the localization compatibility issue
- Potentially run a modified assessment that can handle non-English output
Since a passed directory assessment is required to create a hybrid directory, and this is a limitation of the assessment tooling rather than an actual directory health problem, AWS Support intervention will be necessary to proceed with your Hybrid Edition deployment.
Sources
Troubleshooting hybrid directory and directory assessment - AWS Directory Service
Extend your Active Directory domain to AWS with AWS Managed Microsoft AD (Hybrid Edition) | Microsoft Workloads on AWS
Directory Assessment Error Messages - AWS Directory Service
After changing both domain controllers to English locale and confirming dcdiag output is now English, we created another Directory Assessment.
The DC Diagnostic Test still failed.
New failed SSM command:
- CommandId: d3ced192-912e-4201-9b9b-2045674bf2ed
- Time: 2026-05-11T07:40:18 UTC
- Status: Failed
- Errors: 2
- Document: AWS-RunPowerShellScript
All other AWS-RunPowerShellScript commands in the same assessment succeeded. Please investigate this command’s backend result and confirm why testDcDiag fails even after localized DCDiag output was changed to English.
Relevant content
- AWS OFFICIALUpdated 5 years ago
