I was getting the following error on Step 3:

The TokenServiceCapability is not configured in the Content Discovery Service http://localhost:8082/discovery.svc

Found that TokenServiceUrl="http://localhost:8082/token.svc" is missing from cd_storage_conf.xml from ConfigRepository node

Added and ran the discovery update

java -jar discovery-registration.jar update

And finally the command

Add-TtmCdEnvironment -Id SampleCD -EnvironmentPurpose "Staging" -DiscoveryEndpointUrl http://localhost:8082/discovery.svc -AuthenticationType OAuth -ClientId registration -ClientSecret Reg1str@t10nP@ssw0rd

*Posting here to check if this is the right way


  • This seems to be because of some issue in the quickinstall.ps1 script, as the original cd_storage file had the TokenServiceUrl element which somehow got replaced after the quickinstall..
    – Vikaskr
    Apr 19 '16 at 9:26
  • Yes, realised it a couple of hours ago and answered him too. thanks.
    – Vikaskr
    Apr 20 '16 at 13:36
  • Your other answer points back to this one. It's probably best to assume this one will get deleted, so it's a good idea to make sure all relevant details are in the other answer.
    – Dominic Cronin
    Apr 20 '16 at 19:02