AnsweredAssumed Answered

ArcGIS Server REST federate method

Question asked by scabreraaeroterra-esridist Employee on Oct 20, 2017
Latest reply on Jan 29, 2018 by JQuinn-esristaff

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  ArcGIS Server REST "Federate" method can create the missing corresponding items in Portal. Is this correct? 

I tried to run this operation, getting a token from portal, and using http post method, but I always get an invalid token error. 


{"status":"error","messages":["A valid token from Portal and its referer is required to perform this operation."],"code":500}


Is there an example of how to use this method?


Thank you