CRM On-Premise Sandbox Colour Scheme

A workmate in crime from Brisbane office, Gerhard Pretorius, recently posted an interesting tricks to change On-Premise Deployment with Sandbox Colour Scheme that currently only available on CRM Online:


To make an On-Premise CRM system display the “Sandbox Theme”, you will need to do some code…

Just a note – this is only available for CRM 2013 RU2 and up. THIS IS AN UNSUPPORTED CUSTOMISATION!

Edit the main.aspx file on the CRM server, this is usually located at C:\Program Files\Microsoft Dynamics CRM\CRMWeb\main.aspx. In the head section of main.aspx, after the title tag add the following tag (replace OrgName with your CRM Organisation name):


    if (ORG_UNIQUE_NAME == "OrgName") {
        var IS_SANDBOX_ORG = true;



Restart the CRM Server / do an IIS Reset.

Only the sandbox instance will now show the orange “Sandbox Theme”. This is a great way for users to know which system they are in.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s