<?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: metadata syncy from active directory group in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515240#M15047</link>
    <description>&lt;P&gt;The first error "&lt;EM&gt;Change data contains changes that will violate integrity constraints in the server...&lt;/EM&gt;" is from the %MDUCHGV validation macro that validates the set of changes that will be&amp;nbsp;applied to metadata to make sure they can be applied. The second error from %MDUCHGLB (or similar) "&lt;EM&gt;Errors returned from Proc Metadata prevented objects ...&lt;/EM&gt;" is telling you the changes failed to be applied, which you&amp;nbsp;would&amp;nbsp;probably expect is the prior validation step failed. Often&amp;nbsp;people add conditional logic to the process&amp;nbsp;so that if there are validation failures from&amp;nbsp;&lt;SPAN&gt;%MDUCHGV&amp;nbsp;then an attempt to apply the changes is skipped as it is unlikely to succeed and may leave metadata in an undesirable state.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The main validation error to look at is "&lt;EM&gt;Person with this name already exists in the Metadata Server.&lt;/EM&gt;" because the others stem from that. Fix that error and the others should disappear.&amp;nbsp;It usually occurs because a user has been manually added to SAS Management Console User Manager plug-in and then the subsequent sync that would add that user from AD cannot add them again because they already exist.&amp;nbsp; This can be solved one of 2 ways:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Delete the manually added user to make way for the AD sync-ed user. This is quite brutal and will destroy any relationships that the user had with other metadata (user-level access controls, responsible party, etc.) If it is a new user that has not really done anything yet it may be acceptable.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Alternatively, connect the manually added user to the AD user by manually adding the external identity key to the existing SAS user. This can be done with the SAS Management Console User Manager plug-in. There are examples of the dialog in this blog post &lt;A href="https://platformadmin.com/blogs/paul/2016/03/identity-sync-finding-your-keys/" target="_self"&gt;Identity Sync: Finding Your Keys&lt;/A&gt;.&amp;nbsp;This will effectively connect the SAS user to the AD user so that they can be sync-ed next time. The key value you add should match what you are using in your custom sync code: sAMAccountName, distinguishedName, objectGUID etc.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 21 Nov 2018 20:56:40 GMT</pubDate>
    <dc:creator>PaulHomes</dc:creator>
    <dc:date>2018-11-21T20:56:40Z</dc:date>
    <item>
      <title>metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515210#M15044</link>
      <description>&lt;P&gt;I am looking for exact cause of failure in PROD while metadata sync process trying to update based on active directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;getting below errors in the log file and error dataset:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR:&amp;nbsp; Change data contains changes that will violate integrity constraints in the server or cause other errors during this or &lt;BR /&gt;future synchronizations.&amp;nbsp; See valid.mduchgverrors for information regarding problems encountered.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ERROR: Errors returned from Proc Metadata prevented objects from being Added, Updated, or Deleted.&amp;nbsp; Table: work.mduchglb_failedobjs &lt;BR /&gt;identifies 3 such objects.&amp;nbsp; Consult the SAS Log for the specific Metadata Server errors returned.&lt;/P&gt;
&lt;P&gt;errordataset says&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable SYSERR resolves to 3000&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable PROC_MD_RC resolves to 3000&lt;/P&gt;
&lt;P&gt;:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="407"&gt;
&lt;P&gt;Person with this name already exists in the Metadata Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Person with this name is being added and deleted.&amp;nbsp; Cannot determine if this is a new user or an old user with a new keyid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="407"&gt;
&lt;P&gt;Userid being added is already owned by another Identity.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 21 Nov 2018 19:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515210#M15044</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2018-11-21T19:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515240#M15047</link>
      <description>&lt;P&gt;The first error "&lt;EM&gt;Change data contains changes that will violate integrity constraints in the server...&lt;/EM&gt;" is from the %MDUCHGV validation macro that validates the set of changes that will be&amp;nbsp;applied to metadata to make sure they can be applied. The second error from %MDUCHGLB (or similar) "&lt;EM&gt;Errors returned from Proc Metadata prevented objects ...&lt;/EM&gt;" is telling you the changes failed to be applied, which you&amp;nbsp;would&amp;nbsp;probably expect is the prior validation step failed. Often&amp;nbsp;people add conditional logic to the process&amp;nbsp;so that if there are validation failures from&amp;nbsp;&lt;SPAN&gt;%MDUCHGV&amp;nbsp;then an attempt to apply the changes is skipped as it is unlikely to succeed and may leave metadata in an undesirable state.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The main validation error to look at is "&lt;EM&gt;Person with this name already exists in the Metadata Server.&lt;/EM&gt;" because the others stem from that. Fix that error and the others should disappear.&amp;nbsp;It usually occurs because a user has been manually added to SAS Management Console User Manager plug-in and then the subsequent sync that would add that user from AD cannot add them again because they already exist.&amp;nbsp; This can be solved one of 2 ways:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;SPAN&gt;Delete the manually added user to make way for the AD sync-ed user. This is quite brutal and will destroy any relationships that the user had with other metadata (user-level access controls, responsible party, etc.) If it is a new user that has not really done anything yet it may be acceptable.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Alternatively, connect the manually added user to the AD user by manually adding the external identity key to the existing SAS user. This can be done with the SAS Management Console User Manager plug-in. There are examples of the dialog in this blog post &lt;A href="https://platformadmin.com/blogs/paul/2016/03/identity-sync-finding-your-keys/" target="_self"&gt;Identity Sync: Finding Your Keys&lt;/A&gt;.&amp;nbsp;This will effectively connect the SAS user to the AD user so that they can be sync-ed next time. The key value you add should match what you are using in your custom sync code: sAMAccountName, distinguishedName, objectGUID etc.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 21 Nov 2018 20:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515240#M15047</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2018-11-21T20:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515249#M15049</link>
      <description>&lt;P&gt;You can't sync a simultaneous delete and add, or a change of a user-id. You have to first delete and then add, or you manually remove the old definition from the metadata and then run your sync.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 21:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/515249#M15049</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-21T21:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516036#M15080</link>
      <description>&lt;P&gt;Thank you. Removing the user from metadata and adding through AD works fine. but again job is failing because of the writing permission issue to the work folder ( while performing delete from metadata and writing to temp file) not sure what is the issue as there is no permission access changed in production environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can someone help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;below is the log snippet for the reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable TEMP resolves to work&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable N_INTERLEAVE resolves to 0&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable TEMP resolves to work&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable N_GRPMEMS resolves to 0&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable TEMP resolves to work&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable CHANGE resolves to updates&lt;BR /&gt;NOTE: Table WORK.DELOBJS created, with 97 rows and 3 columns.&lt;/P&gt;
&lt;P&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.18 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable TEMP resolves to work&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable DSID resolves to 1&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable N_DELOBJS resolves to 97&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable TEMP resolves to work&lt;/P&gt;
&lt;P&gt;NOTE: There were 97 observations read from the data set WORK.DELOBJS.&lt;BR /&gt;NOTE: The data set WORK.DELOBJS has 97 observations and 3 variables.&lt;BR /&gt;NOTE: PROCEDURE SORT used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable OUTREQUEST resolves to &lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable RECFM resolves to&lt;/P&gt;
&lt;P&gt;NOTE: The file _OUTXML is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=/workspace/wfeaa/saswork/SAS_work5E8A0002EA59_cppra00a0147/#LN00036,&lt;BR /&gt;&amp;#12;63&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11:45 Friday, November 23, 2018&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner Name=wfavaecm,Group Name=eaa,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access Permission=-rw-rw-r--,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=23Nov2018:11:46:33&lt;/P&gt;
&lt;P&gt;NOTE: 2 records were written to the file _OUTXML.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 10.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 16.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable TEMP resolves to work&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable STR resolves to ObjType&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable STR resolves to ObjId&lt;/P&gt;
&lt;P&gt;NOTE: The file _OUTXML is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=/workspace/wfeaa/saswork/SAS_work5E8A0002EA59_cppra00a0147/#LN00036,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner Name=wfavaecm,Group Name=eaa,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access Permission=-rw-rw-r--,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=23Nov2018:11:46:33,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File Size (bytes)=28&lt;/P&gt;
&lt;P&gt;NOTE: 97 records were written to the file _OUTXML.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 31.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 34.&lt;BR /&gt;NOTE: There were 97 observations read from the data set WORK.DELOBJS.&lt;BR /&gt;NOTE: The data set WORK.NULL_ has 97 observations and 4 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;NOTE: The file _OUTXML is:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=/workspace/wfeaa/saswork/SAS_work5E8A0002EA59_cppra00a0147/#LN00036,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner Name=wfavaecm,Group Name=eaa,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Access Permission=-rw-rw-r--,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Modified=23Nov2018:11:46:33,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File Size (bytes)=3201&lt;/P&gt;
&lt;P&gt;NOTE: 6 records were written to the file _OUTXML.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 10.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 34.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.01 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable OUTRESPONSE resolves to &lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable RECFM resolves to&lt;/P&gt;
&lt;P&gt;ERROR: The user does not have permission to perform this action.&lt;BR /&gt;NOTE: PROCEDURE METADATA used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.11 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;&amp;#12;64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The SAS System&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11:45 Friday, November 23, 2018&lt;/P&gt;
&lt;P&gt;SYMBOLGEN:&amp;nbsp; Macro variable SYSERR resolves to 3000&lt;BR /&gt;SYMBOLGEN:&amp;nbsp; Macro variable PROC_MD_RC resolves to 3000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 16:14:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516036#M15080</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2018-11-26T16:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516061#M15082</link>
      <description>&lt;P&gt;Such programs need to connect to the metadata as sasadm@saspw.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 17:15:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516061#M15082</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-26T17:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516067#M15083</link>
      <description>&lt;P&gt;Yes that's what the admin did . He deleted the users from metadata which were duplicated and re run the process&amp;nbsp; but it failed again because of the writing permission issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 17:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516067#M15083</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2018-11-26T17:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516202#M15089</link>
      <description>&lt;P&gt;That looks more like a metadata permissions issues than a&amp;nbsp;work folder (file system) issue. Who are you running the AD sync code as?&amp;nbsp;&lt;SPAN&gt;wfavaecm?&amp;nbsp;&lt;/SPAN&gt;I usually recommend a dedicated service account (in AD and SAS) for this type of process.&amp;nbsp;The SAS identity for the service account&amp;nbsp;needs, at a minimum, to be a member of the "Metadata Server: User Administration" role to be able to&amp;nbsp;make changes to SAS identities and logins. If you envisage the AD sync process needing to make changes relating to any unrestricted users then you would need to go further and use an unrestricted user (a member of the&amp;nbsp;&lt;SPAN&gt;"Metadata Server: User Unrestricted" role (e.g. sasadm@saspw like&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;suggested). I&amp;nbsp;choose&amp;nbsp;user admin first and only unrestricted if absolutely necessary (i.e. principle of least privilege).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 01:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516202#M15089</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2018-11-27T01:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516206#M15090</link>
      <description>&lt;P&gt;Yes using&amp;nbsp;&lt;SPAN&gt;wfavaecm&lt;/SPAN&gt; id having access to perform such action. this process was running fine with this id until today but failed stating the error in the log though no change in the permission of id.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 02:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516206#M15090</guid>
      <dc:creator>shuchidxt_gmail_com</dc:creator>
      <dc:date>2018-11-27T02:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: metadata syncy from active directory group</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516208#M15091</link>
      <description>&lt;P&gt;In that case I would suggest double checking/tracing the appropriate role membership of the&amp;nbsp;wfavaecm login. You could also try logging into SAS MC with that userid/password and see what it can/can't do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen scenarios in the past where changes in one sync process (group/role membership changes) have disrupted&amp;nbsp;the ability of a service account to perform its actions next time it runs ... and of course occasionally manual changes can be made that break things too.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 03:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/metadata-syncy-from-active-directory-group/m-p/516208#M15091</guid>
      <dc:creator>PaulHomes</dc:creator>
      <dc:date>2018-11-27T03:00:53Z</dc:date>
    </item>
  </channel>
</rss>

