I make try to upgrade the V2 of Azure AD connect, but fail.

ImranSatti-2934 0 Reputation points
2024-03-15T12:22:51.66+00:00

i am a global admin , domain admin and a member of adsyncadmin. till i get the following error.

PS C:> & 'C:\Program Files\Microsoft Azure Active Directory Connect\Tools\MigrateSettings.ps1' -ServerConfiguration "d:\AdConnect"

Unable to export the server configuration due to an unexpected error.

Please see https://go.microsoft.com/fwlink/?LinkID=2117122 for more information.

Message: Access to the path 'd:\AdConnect\GlobalSettings\MV.xml' is denied.

also

PS C:> Start-ADSyncSyncCycle -PolicyType Delta

Start-ADSyncSyncCycle : Retrieving the COM class factory for remote component with CLSID

{835BEE60-8731-4159-8BFF-941301D76D05} from machine OFFICESTU365 failed due to the following error: 80040154

OFFICESTU365.

At line:1 char:1

  • Start-ADSyncSyncCycle -PolicyType Delta
  • 
        + CategoryInfo          : WriteError: (Microsoft.Ident...ADSyncSyncCycle:StartADSyncSyncCycle) [Start-ADSyncSyncCy
    
       cle], COMException
    
        + FullyQualifiedErrorId : Retrieving the COM class factory for remote component with CLSID {835BEE60-8731-4159-8BF
    
       F-941301D76D05} from machine OFFICESTU365 failed due to the following error: 80040154 OFFICESTU365.,Microsoft.Iden
    
      tityManagement.PowerShell.Cmdlet.StartADSyncSyncCycle
    
    

Any solution for this problem. Synchronization of password is not working but objects syncing good. Not able to collect Json file by any way, just want to do swing migration.

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,564 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,351 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Thameur-BOURBITA 32,621 Reputation points
    2024-03-15T13:40:20.52+00:00

    Hi @ImranSatti-2934

    The powershell command you launched it is not correct you should try with the following commands to export Entra Connect server configuration :

    Cd C:\Program Files\Microsoft Azure Active Directory Connect\Tools
    .\MigrateSettings.ps1
    
    

    Regarding your second issue please take a look at this link : FIX: START-ADSYNCSYNCCYCLE : RETRIEVING THE COM CLASS FACTORY FOR REMOTE COMPONENT WITH CLSID {835BEE60-8731-4159-8BFF-941301D76D05}


    Please don't forget to accept helpful answer