Azure AD Connect Error - ArgumentOutOfRangeException: Index was out of range

j prasad 31 Reputation points
2023-08-11T23:17:10.99+00:00

Azure AD Connect Error - ArgumentOutOfRangeException: Index was out of range

1)Network connectivity is good from On-prem to AD Connect.

2)Credential ID having in enterprise admins group .

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,367 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,596 Reputation points Microsoft Employee
    2023-08-15T21:33:14.7666667+00:00

    @j prasad

    Thank you for your post and I apologize for the delayed response!

    Error Message:

    ArgumentOutOfRangeException: Index was out of range

    I understand that you're running into the Azure AD Connect error above and even after confirming your network connectivity and credentials you're still having issues. To hopefully help point you in the right direction or resolve your issue, I'll share my findings below.


    Findings:

    When it comes to your error message, I was able to find a similar issue and to confirm the source of your error, can you look through your Azure AD Connect logs (C:\ProgramData\AADConnect) and see if you find any "ERROR" details?

    • Note: Please keep in mind PII when sharing any log information on Q&A.

    For Example:

    [21:50:22.791] [ 24] [ERROR] ConfigSyncDirectoriesPage: Caught exception...

    If you'd like our support team to take a closer look into your issue and environment, please let me know. I'd be happy to enable a one-time free technical support request for your subscription so you can work with our support engineers to get this issue resolved.


    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.