<?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: Configure Proxy Page with Portal and IWA in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/configure-proxy-page-with-portal-and-iwa/m-p/648006#M24806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&amp;nbsp; Did you figure this out.&amp;nbsp; We are moving from an unfederated server which works with the standard proxy page setup to a federated server and need the same access as you; from 3rd party software.&amp;nbsp; I looked at this in the past and couldn't get it working which is why we had just stayed unfederated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2019 17:24:55 GMT</pubDate>
    <dc:creator>RobertO_Donnell</dc:creator>
    <dc:date>2019-10-08T17:24:55Z</dc:date>
    <item>
      <title>Configure Proxy Page with Portal and IWA</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/configure-proxy-page-with-portal-and-iwa/m-p/648005#M24805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are attempting to configure a &lt;A href="https://github.com/Esri/resource-proxy" rel="nofollow noopener noreferrer" target="_blank"&gt;Proxy Page&lt;/A&gt; to allow some 3rd party developers the ability to access secure services in ArcGIS Enterprise.&amp;nbsp; Our Portal is open to the internet with our Web Adapter in the DMZ.&amp;nbsp; The Web Adapter is configured to authenticate with Active Directory (AD) using Integrated Windows Authentication.&amp;nbsp; We have a copy of our AD in the DMZ.&amp;nbsp; All map services are secure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The proxy appears to be running correctly on IIS as the "ping" returns a valid response.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{ "Proxy Version": "1.1.2", "Configuration File": "OK", "Log File": "Not Exist/Readable"}

&lt;/PRE&gt;&lt;P&gt;I believe that I have configure the proxy.config correctly to access the Map Service but I receive the following error when I attempt to test access with the following URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked" target="_blank"&gt;https://&lt;SPAN style="color: #3d3d3d;"&gt;my.DNS.here&lt;/SPAN&gt;/DotNet/proxy.ashx?https://&lt;SPAN&gt;my.DNS.here&lt;/SPAN&gt;/server/rest/services/Service_Design/MapServer/?f=pjson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{  "error": {   "code": 499,   "message": "Token Required",   "details": []  } }


My proxy.config is below.&lt;/PRE&gt;&lt;P&gt;&amp;lt;ProxyConfig allowedReferers="*"&lt;BR /&gt; &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;mustMatch="true"&lt;BR /&gt;&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;gt;&lt;BR /&gt; &amp;lt;serverUrls&amp;gt;&lt;BR /&gt; &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;lt;serverUrl url="https://&amp;lt;my.DNS.here&amp;gt;/server/rest/services/Service_Design/MapServer"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tokenServiceUri="https://&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;my.DNS.here&amp;gt;&lt;/SPAN&gt;/arcgis/sharing/generateToken"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;domain="&amp;lt;my domain is here&amp;gt;"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username="&amp;lt;my username is in here, it is able to access the Portal&amp;gt;"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;password="&amp;lt;my password is here&amp;gt;"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;matchAll="true"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what I am missing here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/configure-proxy-page-with-portal-and-iwa/m-p/648005#M24805</guid>
      <dc:creator>MikeLong</dc:creator>
      <dc:date>2021-12-12T03:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Proxy Page with Portal and IWA</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/configure-proxy-page-with-portal-and-iwa/m-p/648006#M24806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&amp;nbsp; Did you figure this out.&amp;nbsp; We are moving from an unfederated server which works with the standard proxy page setup to a federated server and need the same access as you; from 3rd party software.&amp;nbsp; I looked at this in the past and couldn't get it working which is why we had just stayed unfederated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 17:24:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/configure-proxy-page-with-portal-and-iwa/m-p/648006#M24806</guid>
      <dc:creator>RobertO_Donnell</dc:creator>
      <dc:date>2019-10-08T17:24:55Z</dc:date>
    </item>
  </channel>
</rss>

