6

Getting Below Error while running following command i try to add TtmCdEnvironment id in SDL Web 8.1.1 discovery service is up and running link

Add-TtmCdEnvironment -Id SampleCD -EnvironmentPurpose Staging -DiscoveryEndpointUrl http://localhost:8082/discovery.svc -AuthenticationType OAuth -ClientId cmuser -ClientSecret CMUserP@ssw0rd

Add-TtmCdEnvironment : Unable to save item of type 'CdEnvironmentData' with id 'Staging'. One or more errors occurred. An error occurred while communicating with CD Discovery Service 'http://localhost:8082/discovery.svc' in CD Environment 'Staging'. One or more errors occurred. The TokenServiceCapability is not configured in the Content Discovery Service http://localhost:8082/discovery.svc. At line:1 char:1 + Add-TtmCdEnvironment -Id Staging -EnvironmentPurpose Staging -DiscoveryEndpointU ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Tridion.Topolog...ironmentCommand:AddCdEnvironmentCommand) [Add-TtmCdEnvironment], DataS erviceException + FullyQualifiedErrorId : Tridion.TopologyManager.Automation.AddCdEnvironmentCommand

5

If you want to use OAuth authentication on your Discovery service, you firstly need to register TokenServiceCapability there. It can be done using discovery-registration.jar tool described here: link or link

  • 1
    Thanks for your prompt response issue got resolved after executing java -jar discovery-registration.jar update – Hem Kant Apr 19 '16 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.