<?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: Can I use an Enterprise account of ArcGIS Online with the ArcGIS API?  If so, can you show me an example? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807150#M2329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff&lt;/P&gt;&lt;P&gt;Have a loog at the help on&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/" title="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/"&gt;working with different authentication schemes | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;for the different login options. This worked in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be that you are set up so you just need to enter the url to your subscription&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #4c4c4c; background-color: #f7f7f7; border: none; font-size: 17px;"&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;GIS&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxxx.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://xxx.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and have&amp;nbsp;Integrated Windows Authentication using NTLM or Kerberos (this works in my case) or you can for example use&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #4c4c4c; background-color: #f7f7f7; border: none; font-size: 17px;"&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;GIS&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;"pro"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to use the login from your current ArcGIS Pro session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the website referenced above:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;Using the &lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;pro&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c;"&gt; authentication scheme, scripts can get an instance of the GIS class representing the active portal in ArcGIS Pro without requiring the user to pass their credentials in a second time. In this mode, users can leverage the Pro app to login to the portal and their scripts can use whichever Portal is currently active. This mode can also serve as a bridge for users with advanced authentication scenarios like IWA using NTLM or Kerberos or Smart Card where signing in with credentials may not be possible or desirable.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 12:18:27 GMT</pubDate>
    <dc:creator>MatthiasSchenker</dc:creator>
    <dc:date>2017-03-30T12:18:27Z</dc:date>
    <item>
      <title>Can I use an Enterprise account of ArcGIS Online with the ArcGIS API?  If so, can you show me an example?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807149#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use this example below with an AGO Enterprise account, I get an error. &amp;nbsp;I can get this to work with an ArcGIS Online account, but we have our organization setup to use enterprise accounts. &amp;nbsp;Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;BR /&gt;from IPython.display import display&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gis = GIS("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com" rel="nofollow" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN&gt;", "arcgis_python", "P@ssword123")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeError: Unable to generate token.&lt;BR /&gt;Invalid username or password.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 16:50:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807149#M2328</guid>
      <dc:creator>JeffZurakowski</dc:creator>
      <dc:date>2017-03-29T16:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an Enterprise account of ArcGIS Online with the ArcGIS API?  If so, can you show me an example?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807150#M2329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff&lt;/P&gt;&lt;P&gt;Have a loog at the help on&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/" title="https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/"&gt;working with different authentication schemes | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;for the different login options. This worked in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be that you are set up so you just need to enter the url to your subscription&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #4c4c4c; background-color: #f7f7f7; border: none; font-size: 17px;"&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;GIS&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxxx.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://xxx.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;and have&amp;nbsp;Integrated Windows Authentication using NTLM or Kerberos (this works in my case) or you can for example use&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #4c4c4c; background-color: #f7f7f7; border: none; font-size: 17px;"&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;GIS&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;"pro"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;to use the login from your current ArcGIS Pro session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the website referenced above:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;Using the &lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-size: 0.85em;"&gt;pro&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c;"&gt; authentication scheme, scripts can get an instance of the GIS class representing the active portal in ArcGIS Pro without requiring the user to pass their credentials in a second time. In this mode, users can leverage the Pro app to login to the portal and their scripts can use whichever Portal is currently active. This mode can also serve as a bridge for users with advanced authentication scenarios like IWA using NTLM or Kerberos or Smart Card where signing in with credentials may not be possible or desirable.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807150#M2329</guid>
      <dc:creator>MatthiasSchenker</dc:creator>
      <dc:date>2017-03-30T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an Enterprise account of ArcGIS Online with the ArcGIS API?  If so, can you show me an example?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807151#M2330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help Matthias. &amp;nbsp;I have tried the &lt;A class="link-titled" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxxx.maps.arcgis.com" title="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxxx.maps.arcgis.com"&gt;https://xxx.maps.arcgis.com&lt;/A&gt;&amp;nbsp;but this is what returns the below error. &amp;nbsp;I added my enterprise credentials to this example. &amp;nbsp;If I use my ArcGIS login, it works. &amp;nbsp;We have a mix of enterprise logins and arcgis online logins in our subscription. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RuntimeError: Unable to generate token.&lt;BR /&gt;Invalid username or password.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 15:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807151#M2330</guid>
      <dc:creator>JeffZurakowski</dc:creator>
      <dc:date>2017-03-30T15:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an Enterprise account of ArcGIS Online with the ArcGIS API?  If so, can you show me an example?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807152#M2331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a call back from ESRI tech support. &amp;nbsp;Using Enterprise Logins of ArcGIS Online is not supported with the current ArcGIS API for Python. &amp;nbsp;It does work with Pro like Matthias suggested above. &amp;nbsp;From ESRI:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: medium;"&gt;ENH-000103131 Provide support for logging into ArcGIS Online using enterprise logins directly from the ArcGIS API for Python.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 15:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-i-use-an-enterprise-account-of-arcgis-online/m-p/807152#M2331</guid>
      <dc:creator>JeffZurakowski</dc:creator>
      <dc:date>2017-04-03T15:34:10Z</dc:date>
    </item>
  </channel>
</rss>

