Deleted the Service registration in Portal for a Federated Server

388
3
11-27-2017 02:10 PM
TracyArchibald
Occasional Contributor

We recently federated Portal and server and I inadvertently deleted a service registration.  The service still exists on the Server and I'd like to force a new registration rather than delete and republish. I've done some searching and have had no luck finding how to, but I figure there has got to be a way.

Do I manually re-register and embed admin creds?  Is there a handy-dandy tool I can run on one service?

Help?

Thanks!

Tags (3)
0 Kudos
3 Replies
JonathanQuinn
Esri Frequent Contributor

You should be able to click on the Share icon within Manager to create a new item in the Portal:

EricJackson1
New Contributor III

I tried this but it didn't work for me. 

0 Kudos
JonathanQuinn
Esri Frequent Contributor

You can try to add the service back to your Portal manually, but don't select to embed credentials. Take the new item ID for the item in the portal and then within the Server Admin API, update the itemID property with the new item ID:

https://<machine>.<domain>.com:6443/arcgis/admin/services/<server_name>.<server_type>/edit

By doing that, you'll create a new item in the portal and make sure that Server is updated with the new item ID.