<?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 ArcGIS Server REST federate method in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-federate-method/m-p/255176#M9818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason, ArcGIS Server federation with Portal was not working properly in a test environment, I solved it. Previously, when we published a service to ArcGIS Server, an item in Portal was not created. There are several services with no item in Portal. I understand that the&amp;nbsp; ArcGIS Server REST "Federate" method can create the missing corresponding items in Portal. Is this correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run this operation, getting a token from portal, and using http post method, but I always get an invalid token error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"status":"error","messages":["A valid token from Portal and its referer is required to perform this operation."],"code":500}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an example of how to use this method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2017 18:43:32 GMT</pubDate>
    <dc:creator>SebastianCabrera</dc:creator>
    <dc:date>2017-10-20T18:43:32Z</dc:date>
    <item>
      <title>ArcGIS Server REST federate method</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-federate-method/m-p/255176#M9818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason, ArcGIS Server federation with Portal was not working properly in a test environment, I solved it. Previously, when we published a service to ArcGIS Server, an item in Portal was not created. There are several services with no item in Portal. I understand that the&amp;nbsp; ArcGIS Server REST "Federate" method can create the missing corresponding items in Portal. Is this correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to run this operation, getting a token from portal, and using http post method, but I always get an invalid token error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{"status":"error","messages":["A valid token from Portal and its referer is required to perform this operation."],"code":500}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an example of how to use this method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 18:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-federate-method/m-p/255176#M9818</guid>
      <dc:creator>SebastianCabrera</dc:creator>
      <dc:date>2017-10-20T18:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server REST federate method</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-federate-method/m-p/255177#M9819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't appear as though there's an answer to this, but the reason why it wasn't working is because you were likely signing into the Admin API using the PSA credentials.&amp;nbsp; The problem is that a Server token can't be used to create items within the Portal, and by using the PSA credentials, you've created a Server token.&amp;nbsp; If you were to create a Portal token by following the instructions below the PSA parameters, then that would allow you to use the Federate operation.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 19:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-rest-federate-method/m-p/255177#M9819</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2018-01-29T19:04:28Z</dc:date>
    </item>
  </channel>
</rss>

