<?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>idea arcpy,  Licensing in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idi-p/1098582</link>
    <description>&lt;P&gt;Provide the ability to run integrated ArcPy 3.6 operations from database IDEs using tools such as XP_CmdShell.&amp;nbsp; You can do this with ArcPy 2.7, can't do this with ArcPy 3.6.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 23:21:36 GMT</pubDate>
    <dc:creator>SteveLewis</dc:creator>
    <dc:date>2021-09-15T23:21:36Z</dc:date>
    <item>
      <title>arcpy,  Licensing</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idi-p/1098582</link>
      <description>&lt;P&gt;Provide the ability to run integrated ArcPy 3.6 operations from database IDEs using tools such as XP_CmdShell.&amp;nbsp; You can do this with ArcPy 2.7, can't do this with ArcPy 3.6.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 23:21:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idi-p/1098582</guid>
      <dc:creator>SteveLewis</dc:creator>
      <dc:date>2021-09-15T23:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1110097#M17400</link>
      <description>&lt;P&gt;Can you provide some additional context on what you'd like to accomplish? I'm not familiar with XP_CmdShell and how ArcPy is used in conjunction with a database IDE.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 04:19:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1110097#M17400</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2021-10-22T04:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1170883#M19477</link>
      <description>&lt;P&gt;In SQL Server Management Studio SSMS, we run our store procedures nightly that take several horus to run.&amp;nbsp; Integrated between SQL and ArcPy as integrated processes.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.ArcPy 2.7 has worked for years.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;EXEC xp_cmdshell 'C:\Python27\ArcGISx6410.8\python.exe F:\CIA_Python\PROD\PythonScripts\VMS_OBS_COMBINE_LINES.py';&lt;/P&gt;&lt;P&gt;-- This ArcPy 3.6 which does not work with XPCmdShell because it throws licensing issues with or without ArcPro open. This box also has ArcGIS Enterprise installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXEC xp_cmdshell 'f:\Progra~1\ArcGIS\Pro\bin\Python\scripts\propy.bat N:\CIA_Python\PROD\PythonScripts\VMS_OBS_COMBINE_LINES.py'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried to clone Python.&amp;nbsp; That didn;t work,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried&lt;/P&gt;&lt;DIV&gt;from arcgis.gis import GIS&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;gis = GIS("pro")&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;def print_profile_info(gis):&lt;BR /&gt;&amp;nbsp; &amp;nbsp; print("Successfully logged into '{}' via the '{}' user".format(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gis.properties.portalHostname,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gis.properties.user.username))&lt;BR /&gt;&lt;BR /&gt;print_profile_info(gis)&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 22:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1170883#M19477</guid>
      <dc:creator>SteveLewis</dc:creator>
      <dc:date>2022-05-04T22:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing - Status changed to: Open</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1198575#M20679</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1318"&gt;@SteveLewis&lt;/a&gt;&amp;nbsp;Thanks for providing some additional context. It looks like this issue may be specific to your environment and require some debugging to determine the nature of the problem. Can you log a support ticket for this case? In the samples given the Python 2.7 environment is running against the Server installation, where the Python 3 environment is running against Pro. It may be that these are licensed differently, or it may be that xp_cmdshell launches these processes as a different user than the authenticated user, and the job needs to be set up to reflect the need to authenticate as the running Pro user. I did install SQL Server Management Studio SSMS, but didn't see anything related to xp_cmdshell built into that package, so imagine there are additional steps to recreate the specific configuration being used, and support is the best avenue to try and tease out where the licensing issue is being hit.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 15:32:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1198575#M20679</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2022-08-02T15:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1199601#M20714</link>
      <description />
      <pubDate>Thu, 04 Aug 2022 20:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1199601#M20714</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2022-08-04T20:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1216159#M21402</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are having a similar issue with running jobs from SSMS,&amp;nbsp;&lt;SPAN&gt;ArcPy 3.6,&amp;nbsp;&lt;/SPAN&gt; and Pro. Is there a resolution for this issue?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 16:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1216159#M21402</guid>
      <dc:creator>MichaelRaasch</dc:creator>
      <dc:date>2022-09-26T16:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1216237#M21406</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/270473"&gt;@MichaelRaasch&lt;/a&gt;&amp;nbsp;could you log a case with support on this issue? We don't yet have a reproducible case for this issue and working through technical support will allow us to ensure we have the same workflow locally and understand any potential configuration issues that may be present. If we identify a specific issue with SSMS, it may be on our side, on Microsoft's side, or a configuration setting that can be handled.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 18:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1216237#M21406</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2022-09-26T18:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy,  Licensing</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1216261#M21411</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/89710"&gt;@ShaunWalbridge&lt;/a&gt;&amp;nbsp;we are currently working with Rob Haley from ESRI regarding this issue and he mentioned this community article...so I was just following up to see if&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1318"&gt;@SteveLewis&lt;/a&gt;&amp;nbsp;or ESRI had a resolution for this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 19:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/arcpy-licensing/idc-p/1216261#M21411</guid>
      <dc:creator>MichaelRaasch</dc:creator>
      <dc:date>2022-09-26T19:29:47Z</dc:date>
    </item>
  </channel>
</rss>

