Enable Tenant Service to communicate on different servers

If you have DEF with the Tenant Service installed on a different server than your Sitecore content management server, you must enable communication between the two servers:

  1. On your Sitecore Content Management server, in the \App_Config\Sitecore\Services.Client\ folder, open the Sitecore.Services.Client.config file.

  2. Locate the following setting:

    <setting name="Sitecore.Services.SecurityPolicy" value="Sitecore.Services.Infrastructure.Web.Http.Security.ServicesLocalOnlyPolicy,Sitecore.Services.Infrastructure"/>      

    Change the setting to:

    <setting name="Sitecore.Services.SecurityPolicy" value="Sitecore.Services.Infrastructure.Web.Http.Security.ServicesOnPolicy,Sitecore.Services.Infrastructure"/>      

The Sitecore ItemService service provides you with an API to read Sitecore items remotely. For example, the Tenant Service needs the ItemService to read the configuration.