Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-698

AD Powershell: ADSync.ps1 - ObjectGUID has to be casted to string

    XMLWordPrintable

Details

    Description

      The current Sync.ps1 contains

      $syncObject = @{"SyncToken" = $_.uSNChanged; "DeltaType" = "CREATE_OR_UPDATE"; "Uid" = $_.ObjectGUID; "Object" = $object}
      

      which results in error message: Uid is missing in Sync result

      Looking into the older script, the ObejctGUID is casted into string. Tried the conversion with the new script and it works.

      Therefore I propose to change it in ADSync.ps1 on lines: 63,72,78 and in ADSearch.ps1 line 74.

      Attachments

        Activity

          People

            gael Gael Allioux
            Ladislav.Folta Ladislav Folta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: