<?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: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256637#M35101</link>
    <description>&lt;P&gt;In some situations (security/CORs) an enterprise portal or AGOL portal will proxy requests to the ArcGIS server.&lt;/P&gt;&lt;P&gt;9 times out of 10 you will ask for something in a browser and a message will go from your browser to AGOL or AGS. &amp;nbsp;The other time the message goes to AGOL and then to ags. &amp;nbsp;Needs must.&lt;/P&gt;&lt;P&gt;the first url you shared says it’s trying to use the proxy. &amp;nbsp;AGOL cannot communicate with AGS because it’s behind your firewall.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 19:04:17 GMT</pubDate>
    <dc:creator>Scott_Tansley</dc:creator>
    <dc:date>2023-02-09T19:04:17Z</dc:date>
    <item>
      <title>Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256631#M35100</link>
      <description>&lt;P&gt;We have an AGOL / Enterprise hybrid environment to support a variety of use cases, and our users are generally using ArcGIS Online while they behind our firewall, so they can access services published to ArcGIS Enterprise.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to register an Enterprise GeocoderServer with our AGOL instance (Setting--&amp;gt;Utility Services--&amp;gt;Geocoding).&amp;nbsp; I am able to add my Enterprise GeocoderServer URL, which enables "geosearch" in the map viewer (and I've tested this and it works as long as I am behind our firewall).&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, "Allow Batch Geocoding" is greyed out to off, and I'm unable to change it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked the network tab and see two failures:&lt;/P&gt;&lt;P&gt;1. 400 error on&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://myagolorg.maps.arcgis.com/sharing/proxy?https://myenterpriseorg/arcgis/rest/services/locators/APTLocator/GeocodeServer?f=json" target="_blank" rel="nofollow noopener noreferrer"&gt;https://myagolorg.maps.arcgis.com/sharing/proxy?https://myenterpriseorg/arcgis/rest/services/locator...&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp; Preflight error on&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://myenterpriseorg/arcgis/rest/services/locators/APTLocator/GeocodeServer?f=json" target="_blank" rel="nofollow noopener noreferrer"&gt;https://myenterpriseorg/arcgis/rest/services/locators/APTLocator/GeocodeServer?f=json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what's happening here, and if there is some security setting (either in Enterprise or AGOL) that I'm missing, or if this just isn't supported?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 18:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256631#M35100</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2023-02-09T18:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256637#M35101</link>
      <description>&lt;P&gt;In some situations (security/CORs) an enterprise portal or AGOL portal will proxy requests to the ArcGIS server.&lt;/P&gt;&lt;P&gt;9 times out of 10 you will ask for something in a browser and a message will go from your browser to AGOL or AGS. &amp;nbsp;The other time the message goes to AGOL and then to ags. &amp;nbsp;Needs must.&lt;/P&gt;&lt;P&gt;the first url you shared says it’s trying to use the proxy. &amp;nbsp;AGOL cannot communicate with AGS because it’s behind your firewall.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256637#M35101</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2023-02-09T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256646#M35102</link>
      <description>&lt;P&gt;Thank you - this was my suspicion - but why they decided to use the proxy to query the GeocodeServer information is beyond me.&amp;nbsp; Unfortunately,&amp;nbsp; it does prevent this pattern - and since we're unable to publish custom geocoders into ArcGIS Online, this functionality in inaccessible to our AGOL users (upload a CSV of asset IDs and use a custom geocoder to turn them to a hosted feature service for example).&amp;nbsp; I'm curious if this is done by design for some reason, or is an oversight from the product team.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe the proxy is implemented because of the size of the potential payload in a batch geocoding request?&amp;nbsp; If it exceeds the standard size then a proxy must be used.&amp;nbsp; This is where my technical knowledge can't keep up. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256646#M35102</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2023-02-09T19:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256647#M35103</link>
      <description>&lt;P&gt;Sorry yes. &amp;nbsp;A get request has a limit of ~2000 chars. &amp;nbsp;That includes the url to the endpoint and the query parameters. &amp;nbsp;As soon as that is exceeded then ‘the internet’ states you have to post and that’s another reason for using the proxy. &amp;nbsp;So, too many characters will force the proxy to come in.&lt;/P&gt;&lt;P&gt;using the proxy is always ‘last resort’ if it’s being used, then it needs to be used. &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:18:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256647#M35103</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2023-02-09T19:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256657#M35104</link>
      <description>&lt;P&gt;But the GeocodeServer supports POST which is another way to get around those limits in a batch geocoding scenario.&amp;nbsp; I'm now just wondering if this is an unnecessary limitation, and I can try to convince the product team to change things to support this - either allow creation of customer geocode services or stop using the proxy and just use POST for batch geocoding from AGOL to enterprise.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256657#M35104</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2023-02-09T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256660#M35105</link>
      <description>&lt;P&gt;The service will support a post. &amp;nbsp;off the top of my head a post will cause the CORS issue so the remedy to that is a server to seever request. Not a client to server request. &amp;nbsp;To avoid CORS we use the proxy.&lt;/P&gt;&lt;P&gt;on that note we may be able to force it. &amp;nbsp;If you go to AGOL -&amp;gt; organisation -&amp;gt; settings then you should be able to add your server as a ‘trusted server’ - that may be enough to force it direct.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256660#M35105</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2023-02-09T19:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot use batch geocoding in AGOL with an Enterprise 10.9 GeocodeServer</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256665#M35106</link>
      <description>&lt;P&gt;Interesting - that's a good suggestion.&amp;nbsp; If I add my server URL to Allow origins, it fixes the Preflight request but the first request still uses the proxy (and still fails).&amp;nbsp; Adding the URL to Trusted servers seems to have no effect in this scenario.&amp;nbsp; So ultimately still doesn't work, but at least I have enough information to take it to the product team and plead my case.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:47:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cannot-use-batch-geocoding-in-agol-with-an/m-p/1256665#M35106</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2023-02-09T19:47:14Z</dc:date>
    </item>
  </channel>
</rss>

