Error upgrading AADConnect from 1.x version to 2.x on server 2016 using global admin account

Jay Sefiani 1 Reputation point
2023-01-10T17:27:07.62+00:00

The error is :

[ 27] [ERROR] A terminating unhandled exception occurred. Exception Data (Raw): System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: Requested registry access is not allowed.

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

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 41,891 Reputation points
    2023-01-10T17:36:25.473+00:00

    Hi,

    It seems the install account does not have access to the windows registry, can you check if the account is local admin on the server? Follow this doc for permissions required on the server and AAD.reference-connect-accounts-permissions

    Hope this helps. JS

    == Please Accept the answer if the information helped you. This will help us and others in the community as well.