discrepancies in Metaverse and Full Sync records RRS feed

  • Question

  • I've written as powershell connector to export data from Metaverse to ADLDS. After running Full Sync, I'm getting less data (approx 1K) to do Export. There is no error for other records. 

    Has anyone faced this issue before? Any help.



    Tuesday, June 18, 2019 8:39 PM

All replies

  • Hi,

    You should check your provisioning logic (I assume you are provisioning, not joining?).

    Are you using Scoped Portal rules? Metaverse Extension?


    Did my post help? Please use "Mark as answer" or "Propose as answer". Thank you!

    Wednesday, June 19, 2019 7:21 AM
  • Hi, 

    Yes you're correct. I'm doing provisioning via Metaverse Extension. And it is working for approx 47K records. 

    I'm using standard code for the same:

    void IMVSynchronization.Provision(MVEntry mventry) { string container; string rdn; ConnectedMA FabrikamADMA; int numConnectors; CSEntry myConnector; CSEntry csentry; ReferenceValue dn; // Ensure that the cn attribute is present. if(!mventry["cn"].IsPresent) { throw new UnexpectedDataException("cn attribute is not present."); } // Determine the container and relative distinguished name // of the new connector space entry. container = "CN=users,DC=fabrikam,DC=com"; rdn = "CN=" + mventry["cn"].Value; FabrikamADMA = mventry.ConnectedMAs["Fabrikam AD MA"]; dn = FabrikamADMA.EscapeDNComponent(rdn).Concat(container); numConnectors = FabrikamADMA.Connectors.Count; // If there is no connector present, create a new connector. if (numConnectors == 0) { csentry = FabrikamADMA.Connectors.StartNewConnector("user"); csentry.DN = dn; csentry.CommitNewConnector(); } else if (numConnectors == 1) { // Check if the connector has a different DN and rename if necessary. // Get the connector. myConnector = FabrikamADMA.Connectors.ByIndex[0]; // Microsoft Identity Integration Server<entity type="nbsp"/>2003 will rename/move if different, if not, nothing will happen. myConnector.DN = dn; } else { throw(new UnexpectedDataException("multiple connectors:" + numConnectors.ToString())); } }

    Wednesday, June 19, 2019 1:55 PM