<?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 FeatureClassToGeodatabase_Conversion - Skip Insufficient Permissions in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97901#M7615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to copy over feature classes from another entities SDE.&amp;nbsp; The user account I am using is allowed to see feature classes, but not the related tables.&amp;nbsp; Therefore most methods are out for copying data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am doing is writing a script to copy over the data into a file geodatabase.&amp;nbsp; What i am running into is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"WARNING: Failed to convert:&amp;nbsp; {insert feature class here} ERROR 999999: Error executing function. Insufficient permissions {insert feature class's related table(s)}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Failed to convert: Database Connections\Utilities.sde\Utilities.GIS.ElectricUtility\&lt;SPAN&gt;Utilities&lt;/SPAN&gt;.GIS.Switchgear. ERROR 999999: Error executing function.&lt;BR /&gt;Insufficient permissions [Insufficient permissions[&lt;SPAN&gt;Utilities&lt;/SPAN&gt;.GIS.UndergroundDistributionInspection]]&lt;BR /&gt;Failed to execute (CopyFeatures).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fails then to bring over that feature class with a related table into the file geodatabase.&amp;nbsp; Is there a way around the permissions issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"Database Connections\Utilities.sde\Utilities.GIS.ElectricUtility"&lt;/SPAN&gt;
    muE &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature_type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'point'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;muE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; muEFS &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature_type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'point'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FeatureClassToGeodatabase_conversion&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;muEFS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"Z:\MXDs\Services\Utilities_EF.gdb"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;except&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;pass&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:07:39 GMT</pubDate>
    <dc:creator>DavidBuehler</dc:creator>
    <dc:date>2021-12-11T06:07:39Z</dc:date>
    <item>
      <title>FeatureClassToGeodatabase_Conversion - Skip Insufficient Permissions</title>
      <link>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97901#M7615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to copy over feature classes from another entities SDE.&amp;nbsp; The user account I am using is allowed to see feature classes, but not the related tables.&amp;nbsp; Therefore most methods are out for copying data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am doing is writing a script to copy over the data into a file geodatabase.&amp;nbsp; What i am running into is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"WARNING: Failed to convert:&amp;nbsp; {insert feature class here} ERROR 999999: Error executing function. Insufficient permissions {insert feature class's related table(s)}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Failed to convert: Database Connections\Utilities.sde\Utilities.GIS.ElectricUtility\&lt;SPAN&gt;Utilities&lt;/SPAN&gt;.GIS.Switchgear. ERROR 999999: Error executing function.&lt;BR /&gt;Insufficient permissions [Insufficient permissions[&lt;SPAN&gt;Utilities&lt;/SPAN&gt;.GIS.UndergroundDistributionInspection]]&lt;BR /&gt;Failed to execute (CopyFeatures).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fails then to bring over that feature class with a related table into the file geodatabase.&amp;nbsp; Is there a way around the permissions issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"Database Connections\Utilities.sde\Utilities.GIS.ElectricUtility"&lt;/SPAN&gt;
    muE &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature_type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'point'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;muE&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; muEFS &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListFeatureClasses&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;feature_type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'point'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FeatureClassToGeodatabase_conversion&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;muEFS&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"Z:\MXDs\Services\Utilities_EF.gdb"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;except&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;pass&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97901#M7615</guid>
      <dc:creator>DavidBuehler</dc:creator>
      <dc:date>2021-12-11T06:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureClassToGeodatabase_Conversion - Skip Insufficient Permissions</title>
      <link>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97902#M7616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should also add - "Besides having them change the permissions to the tables."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 19:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97902#M7616</guid>
      <dc:creator>DavidBuehler</dc:creator>
      <dc:date>2019-12-03T19:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureClassToGeodatabase_Conversion - Skip Insufficient Permissions</title>
      <link>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97903#M7617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&amp;nbsp; arcpy.FeatureClassToGeodatabase does not work either, used as a code snippet direct from ArcGIS Desktop.&amp;nbsp; However, using an import multiple feature class works by right clicking on the file geodatabase.&amp;nbsp; Riddle me that one, Batman?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 20:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/featureclasstogeodatabase-conversion-skip/m-p/97903#M7617</guid>
      <dc:creator>DavidBuehler</dc:creator>
      <dc:date>2019-12-03T20:41:08Z</dc:date>
    </item>
  </channel>
</rss>

