Microsoft Dynamics CRM 2013 Change Deployment Settings via PowerShell

There a number of settings within the DeploymentProperties table within the MSCRM_CONFIG database which sometimes we need to change. Microsoft recommend changing this via power shell with the following command:

add-pssnapin Microsoft.Crm.Powershell

To allow the saving of credentials when SSL is not used, we can run the following commands:

Note: A guide to using PowerShell with Dynamics CRM can be found on MSDN here which has a number of useful of cmdlets for administrating a Dynamics CRM Deployment, you can also see a list of all of the Advanced Settings that can be changed via PowerShell here.

This is a short tip but can be usefully if you want to quickly change a setting within a CRM 2013 Deployment.

Comments

I followed the disable SSL PowerShell commands, but get an error with Set-CrmAdvancedSetting -Entity $configEntity. I entered the command lines individually. The error I receive after Set-CRMAdvancedSetting is An unsecrued or incorrectly secrued fault was received from the other party. See the inner FaultException for the fault code and detail. Inner Exception Level 1 Error An error occurred when verifying security for the message.