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.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,718 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marshaljs 26,736 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.