The NonProd deployment type has been deprecated in Sitecore xDB Cloud


Description

Sitecore xDB Cloud supported NonProd and Prod values of Sitecore.Cloud.Xdb.DeploymentType setting in Sitecore.Cloud.Xdb.config. The NonProd value has now been deprecated and is no longer used. If you try connecting to xDB Cloud using it, the following exception may occur:

ERROR xDB Cloud - xDB Cloud initialization failed. Please contact Sitecore Support via http://support.sitecore.net and provide these details:
**********************************************************************************
License Id: {your-license-id-here}
Deployment Id: {your-deployment-id-here}
Issue id: 
Discovery Service Status Code: 403 Forbidden
Exception Details: Sitecore.Cloud.Xdb.Exceptions.RequestForbiddenException: {"Message":"Quota limit has been reached for deployment type: NonProd"}
   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.AssertStatusCodes(IRestResponse restResponse, String licenseId, String deploymentId)
   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.PostXdbSet(String licenseId, String deploymentId, String sitecoreVersion, String cloudXdbAssemblyVersion, String cloudSearchAssemblyVersion, String deploymentType, String location)
   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.<GetXdbSet>b__2()
   at Sitecore.Cloud.Xdb.Retryer.Execute(Action task, Func`2 stopOnException, String message, Int32 retryNum, TimeSpan retryInterval)
   at Sitecore.Cloud.Xdb.DiscoveryServiceClient.GetXdbSet()
   at Sitecore.Cloud.Xdb.UpdateXdbConnectionStrings.Process(PipelineArgs args)

Important: The Prod deployment type value now covers both Production and Non-Production Sitecore xDB Cloud Pricing Tiers/Licenses.

This applies to all versions of Sitecore App Center.

Solution

To change your NonProd deployment to a Prod deployment, in the \App_Config\Include\XdbCloud\Sitecore.Cloud.Xdb.config file, set the Sitecore.Cloud.Xdb.DeploymentType setting to the Prod value:

<setting name="Sitecore.Cloud.Xdb.DeploymentType" value="Prod" />