<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS ImportAD error with authentication domain &amp;quot;DefaultAuth&amp;quot; in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/289040#M4956</link>
    <description>&lt;P&gt;No problem. Thanks for reporting back and marking the question as solved.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2016 22:29:40 GMT</pubDate>
    <dc:creator>PaulHomes</dc:creator>
    <dc:date>2016-08-02T22:29:40Z</dc:date>
    <item>
      <title>SAS ImportAD error with authentication domain "DefaultAuth"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/288644#M4945</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm importing users and groups from our Active Directory using the importad.sas sample code and ran into this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"ERROR: An AuthenticationDomain named DefaultAuth already exists in this server."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even after modifying the code to use %mduchglb intead of %mduimplb, I'm still&amp;nbsp;getting&amp;nbsp;the same error message.&amp;nbsp; There are no observations in the errors table but one observation in the faildobjs table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The faildobjs table has one observation with the objtype AuthenticationDomain, name DefaultAuth, and chgtype A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encounter this issue?&amp;nbsp; What was the resolution?&amp;nbsp; Any help and guidance would be greatly appreciate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the part of the code that is throwing the error:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro Execute_Load;   
/* if the _EXTRACTONLY macro is set, then return and don't do any load processing. */
%if %symexist(_EXTRACTONLY) %then %return;
 %mduchglb(change=change, temp=work, failedobjs=error.faildobjs,
        extidtag=&amp;amp;ADExtIDTag);
%mend Execute_Load;
%Execute_Load;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 16:15:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/288644#M4945</guid>
      <dc:creator>mwong</dc:creator>
      <dc:date>2016-08-01T16:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ImportAD error with authentication domain "DefaultAuth"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/288780#M4946</link>
      <description>&lt;P&gt;Are you doing an initial load or synchronization? There is sample synchronization code in the SAS documentation here:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#p0z36im6qsfk3ln1advg12dn5lls.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/bisecag/67045/HTML/default/viewer.htm#p0z36im6qsfk3ln1advg12dn5lls.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are combining importad.sas with %mduextr to extract existing identities from SAS and then %mducmp to generate the change data required for %mduchglb to apply the changes, then it should have detected the existing DefaultAuth authentication domain and not generated the corresponding add record. I would start backtracking through the tables looking for where the problem is. Start with the&amp;nbsp;AUTHDOMAIN_ADD change table - I assume it has a record for DefaultAuth (which it shouldn't). The target&amp;nbsp;AUTHDOMAIN table? - it should have DefaultAuth. Then the source&amp;nbsp;AUTHDOMAIN table should also&amp;nbsp;have DefaultAuth.&amp;nbsp;It should be in both source and target&amp;nbsp;AUTHDOMAIN tables and %mducmp should then decide it doesn't need to add it. I would cast an eye over your login tables to make sure you are seeing correct change data for those too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If,&amp;nbsp;after walking through the process, it is not immediately clear where the problem lies then you might consider contacting SAS Professional Services or a local SAS Partner in your area. They will have done lots of these. My company Metacoda also has a commercial point and click plug-in for SAS Management Console to make it&amp;nbsp;easy to do AD synchronization with no code. I wrote&amp;nbsp;a blog post about it a while back with a screencast showing it in action:&amp;nbsp;&lt;A href="https://platformadmin.com/blogs/paul/2015/07/synchronizing-sas-platform-identities/" target="_blank"&gt;https://platformadmin.com/blogs/paul/2015/07/synchronizing-sas-platform-identities/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 01:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/288780#M4946</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2016-08-02T01:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ImportAD error with authentication domain "DefaultAuth"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/288961#M4955</link>
      <description>&lt;P&gt;Thank you very much for your advice.&amp;nbsp; I was able to find where the issue was while backtracking the tables.&amp;nbsp; Correcting the code allow the initial load of users and groups to be loaded.&amp;nbsp; It was a relief to see it in management console.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 15:52:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/288961#M4955</guid>
      <dc:creator>mwong</dc:creator>
      <dc:date>2016-08-02T15:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ImportAD error with authentication domain "DefaultAuth"</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/289040#M4956</link>
      <description>&lt;P&gt;No problem. Thanks for reporting back and marking the question as solved.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 22:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-ImportAD-error-with-authentication-domain-quot-DefaultAuth/m-p/289040#M4956</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2016-08-02T22:29:40Z</dc:date>
    </item>
  </channel>
</rss>

