cmdletinvocationException error while configure the AD connect

Sampath - Infra Admin 0 Reputation points
2024-11-18T14:27:53.72+00:00

I have tried to sync my on-prem Ad users to Azure AD, i have downloaded the MS entra connect sync and enter our global admin user and on-prem administrator details all done successfully, but in final stage it has a "cmdletinvocationException error"

the screenshot of the issue has been shared for your reference..

I request, kindly help me to proceed further on this. thank you.

Regards,

SampathScreenshot 2024-11-18 113955.png

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Goutam Pratti 745 Reputation points Microsoft Vendor
    2024-11-19T06:20:39.8333333+00:00

    Hello @Sampath - Infra Admin ,

    Thank you for reaching out Microsoft Q&A.

    I understand that you are encountering the error: "The login attempt has failed," as indicated in the provided screenshot. I recommend create a new user in your on-premises Active Directory domain and granting the user with Enterprise Admin or Domain Admin privileges. Then, try syncing again using Microsoft Entra Connect Sync to see if the issue is resolved.

    Additionally, ensure that all prerequisites for configuring AD Connect are met. Specifically, verify that TLS 1.2 is enabled. You can use a PowerShell script to check this; refer to the "PowerShell script to check TLS" for detailed instructions. If you find TLS 1.2 is not enabled, enable it using the "PowerShell script to enable TLS 1.2."

    Lastly, review the installation prerequisites, particularly those related to connectivity, to confirm everything is properly configured.

    To Check the prerequisites: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-install-prerequisites#connectivity

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Regards,
    Goutam Pratti.


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.