{"id":3654,"date":"2015-02-05T16:36:45","date_gmt":"2015-02-05T22:36:45","guid":{"rendered":"http:\/\/allidm.com\/blog\/?p=3654"},"modified":"2015-02-05T16:44:08","modified_gmt":"2015-02-05T22:44:08","slug":"dell-identity-manager-repairing-duplicate-alternate-keys-using-vi_repairduplicatealternatekey-for-active-directory","status":"publish","type":"post","link":"https:\/\/allidm.com\/blog\/dell-identity-manager-repairing-duplicate-alternate-keys-using-vi_repairduplicatealternatekey-for-active-directory\/","title":{"rendered":"Dell Identity Manager repairing duplicate alternate keys using &#8220;vi_RepairDuplicateAlternateKey&#8221; for Active Directory"},"content":{"rendered":"<p><strong>Dell Identity Manager repairing duplicate alternate keys using &#8220;vi_RepairDuplicateAlternateKey&#8221; for Active Directory<\/strong><\/p>\n<p>If you are working with Dell Identity Manager 6.x (current version is Dell Identity Manager 6.1.2) and configure your Active Directory, you can enable a synchronization process between AD &amp; Dell Identity Manager.<\/p>\n<p>Sometimes when you run a Synchronization process, you might run with an error that generates the AD Synch to fail.<\/p>\n<p><strong>Error:<\/strong><\/p>\n<p>&#8220;<em>The synchronization was cancelled because of data inconsistency in the target system ADS. Run the SQL procedure &#8220;vi_RepairDuplicateAlternateKey&#8221; for data revision.<\/em>&#8221;<br \/>\n<strong><br \/>\nError on the Job Queue Web Brower.<\/strong><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"3655\" data-permalink=\"https:\/\/allidm.com\/blog\/dell-identity-manager-repairing-duplicate-alternate-keys-using-vi_repairduplicatealternatekey-for-active-directory\/allidm-dell-identity-manager-ad-error-vi_repairduplicatealternatekey-joblog\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?fit=1254%2C244&amp;ssl=1\" data-orig-size=\"1254,244\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog\" data-image-description=\"&lt;p&gt;Error for stored procedure &amp;#8220;vi_RepairDuplicateAlternateKey&amp;#8221;&lt;\/p&gt;\n\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?fit=680%2C132&amp;ssl=1\" loading=\"lazy\" class=\"alignnone wp-image-3655 size-full\" src=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?resize=680%2C132\" alt=\"AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog\" width=\"680\" height=\"132\" srcset=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?w=1254&amp;ssl=1 1254w, https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?resize=300%2C58&amp;ssl=1 300w, https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?resize=1024%2C199&amp;ssl=1 1024w, https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobLog.png?resize=250%2C49&amp;ssl=1 250w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><br \/>\n<strong><br \/>\nError in the JobQueueInfo tool<\/strong><\/p>\n<p><a href=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"3656\" data-permalink=\"https:\/\/allidm.com\/blog\/dell-identity-manager-repairing-duplicate-alternate-keys-using-vi_repairduplicatealternatekey-for-active-directory\/allidm-dell-identity-manager-ad-error-vi_repairduplicatealternatekey-jobtool\/#main\" data-orig-file=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png?fit=1013%2C277&amp;ssl=1\" data-orig-size=\"1013,277\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool\" data-image-description=\"&lt;p&gt;stored procedure &amp;#8220;vi_RepairDuplicateAlternateKey&amp;#8221;&lt;\/p&gt;\n\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png?fit=680%2C186&amp;ssl=1\" loading=\"lazy\" class=\"alignnone wp-image-3656 size-full\" src=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png?resize=680%2C186\" alt=\"AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool\" width=\"680\" height=\"186\" srcset=\"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png?w=1013&amp;ssl=1 1013w, https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png?resize=300%2C82&amp;ssl=1 300w, https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2015\/02\/AllIDM-Dell-Identity-Manager-AD-Error-vi_RepairDuplicateAlternateKey-JobTool.png?resize=250%2C68&amp;ssl=1 250w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Dell Identity Manager provides the stored procedure &#8220;vi_RepairDuplicateAlternateKey&#8221; to find and delete duplicate entries. You can use the tool in the following way:<\/p>\n<p><strong>1.<\/strong> Open the Dell Identity Manager Object Browser ( ObjectBrowser )<\/p>\n<p><strong>2.<\/strong> Execute the following command:<\/p>\n<blockquote><p>Exec vi_RepairDuplicateAlternateKey &#8216;ADS&#8217;, &#8216;Log&#8217;<\/p><\/blockquote>\n<p><strong>3.<\/strong> Analyze the data and review the duplicates<\/p>\n<p><strong>4.<\/strong> Run the following command to repair the data<\/p>\n<blockquote><p>Exec vi_RepairDuplicateAlternateKey &#8216;ADS&#8217;, &#8216;Repair&#8217;<\/p><\/blockquote>\n<p>This stored procedure can be used with other target system.The function Signature is :<\/p>\n<blockquote><p>vi_RepairDuplicateAlternateKey (@namespace NVARCHAR(64)=N&#8217;ALL&#8217;,@Mode NVARCHAR(16)=N&#8217;LOG&#8217;)<\/p><\/blockquote>\n<p>Where the allowed values for the parameters are:<\/p>\n<p><strong>@Namespace<\/strong> expects one of the following values:<\/p>\n<p>&#8211; ADS<br \/>\n&#8211; Ex2010<br \/>\n&#8211; Ex2k<br \/>\n&#8211; LDAP<br \/>\n&#8211; Notes<br \/>\n&#8211; SharePoint<\/p>\n<p><strong>@Mode<\/strong> can be set to:<\/p>\n<p>&#8211; LOG<br \/>\n&#8211; REPAIR<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dell Identity Manager repairing duplicate alternate keys using &#8220;vi_RepairDuplicateAlternateKey&#8221; for Active Directory If you are working with Dell Identity Manager 6.x (current version is Dell Identity Manager 6.1.2) and configure your Active Directory, you can enable a synchronization process between AD &amp; Dell Identity Manager. Sometimes when you run a Synchronization process, you might run [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1079,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[264,858],"tags":[623,1376,1345],"class_list":["post-3654","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-article","category-didm","tag-d1im","tag-didm","tag-iam-solutions"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/allidm.com\/blog\/wp-content\/uploads\/2012\/06\/Identity-Management-Technical-Allidm.jpg?fit=320%2C240&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p25vfy-WW","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts\/3654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/comments?post=3654"}],"version-history":[{"count":4,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts\/3654\/revisions"}],"predecessor-version":[{"id":3660,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/posts\/3654\/revisions\/3660"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/media\/1079"}],"wp:attachment":[{"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/media?parent=3654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/categories?post=3654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/allidm.com\/blog\/wp-json\/wp\/v2\/tags?post=3654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}