locked
OrgDbOrgSettingsTool Configuration RRS feed

  • Question

  • I am trying to configure the OrgDBOrgSettingsTool for my instance of CRM on Office365. In the XML config file, I am supposed to "change CRMServer to my Crm Server Name." How do I determine what my Crm Server Name is? Is it the same as my organization name?

    <OrgDBOrgSettingsTool.Properties.Settings>
                <setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">
                  <!--- Please change CrmServer to your Crm Server Name -->
                    <value>http://CrmServer/MSCrmServices/2007/CrmService.asmx</value>
                </setting>

    Thanks!

    Wednesday, June 11, 2014 8:22 PM

Answers

  • The organization name doesn't go inside the config file (except for the email of course)

    the /u parameter name normally is the part before .crm4 inside the online address, however some times is different and you need to use the Organization Unique Name that you find under

    Settings -> Customizations > Developer Resources


    My blog: www.crmanswers.net - Rockstar 365 Profile

    • Marked as answer by disanto Wednesday, June 11, 2014 10:56 PM
    Wednesday, June 11, 2014 10:52 PM

All replies

  • I don't know which version of OrgDbOrgSettings Tool you are using, but I suggest to download the latest version from the official site:

    http://orgdborgsettings.codeplex.com/

    It is a managed solution, so you need to import it inside your CRM instance.


    My blog: www.crmanswers.net - Rockstar 365 Profile

    • Proposed as answer by Guido PreiteMVP Wednesday, June 11, 2014 8:30 PM
    • Unproposed as answer by disanto Wednesday, June 11, 2014 8:53 PM
    Wednesday, June 11, 2014 8:30 PM
  • I am using the tool available in SP1 for CRM. It requires that you edit the configuration file to use the tool (see http://support.microsoft.com/kb/2691237/en-us).

    I also tried downloading and installing this but the OrgDbOrgSettings Tool as a managed solution, but it no longer supports the SetRegardingLookupDefaultEntityType setting, which is the one setting I'm trying to modify.

    Thanks.

    Wednesday, June 11, 2014 8:53 PM
  • in the bottom of the page you linked there is a configuration example for CRM Online with Office365.

    However according to this discussion

    http://orgdborgsettings.codeplex.com/workitem/1270

    That settings is no more available/effective on CRM Online.


    My blog: www.crmanswers.net - Rockstar 365 Profile

    • Proposed as answer by Guido PreiteMVP Wednesday, June 11, 2014 9:51 PM
    • Unproposed as answer by disanto Wednesday, June 11, 2014 10:27 PM
    Wednesday, June 11, 2014 9:51 PM
  • The configuration example at the bottom of the page is exactly the cause of my question, for it is not clear. (If you notice, I quote the example in my original question.) My problem is that no matter what I put in for the various fields in the configuration file, I inevitably get an error even if I am only trying to retrieve the settings of my CRM. I was looking for a way to figure out what exactly I should be putting in which field.

    I also saw the issue at the link you included earlier. But does that mean the SetRegardingLookupDefaultEntityType setting is no longer available in CRM Online at all or simply that the solution no longer works for that setting?

    Wednesday, June 11, 2014 10:03 PM
  • From the discussion looks like that the setting is no longer working.
    About the XML config file, the part you quoted has nothing to do with the online configuration, I post here my configuration with the changes you need to make (remember your crm area, crm4 is EMEA, crm is NA, crm5 is APAC)

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <configSections>
            <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
                <section name="OrgDBOrgSettingsTool.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
            </sectionGroup>
        </configSections>
        <applicationSettings>
            <OrgDBOrgSettingsTool.Properties.Settings>
                <setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">
                  <!--- Please change CrmServer to your Crm Server Name -->
                    <value>http://CrmServer/MSCrmServices/2007/CrmService.asmx</value>
                </setting>
                <setting name="OrgDBOrgSettingsTool_CrmDiscoveryService_CrmDiscoveryService"
                    serializeAs="String">
                  <!--- Please change CrmServer to your Crm Server Name -->
                    <value>https://disco.crm4.dynamics.com/XrmServices/2011/Discovery.svc</value>
                </setting>
                <setting name="OrgDBOrgSettingsTool_SKU" serializeAs="String">
                  <!--- Possible values here are Online/Office365/SPLA/OnPrem -->
                    <value>Office365</value>
                </setting>
                <setting name="OrgDBOrgSettingsTool_UserName" serializeAs="String">
                  <!--- Please change the value below to your email Id/User Name for Online / SPLA -->
                    <value>username@organization.onmicrosoft.com</value>
                </setting>
              <setting name="OrgDBOrgSettingsTool_Domain" serializeAs="String">
                <value>crmdom</value>
              </setting>
              <setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">
                <value>https://{0}.crm4.dynamics.com/XrmServices/2011/Organization.svc</value>
              </setting>
              <setting name="OrgDBOrgSettingsTool_RegistrationEndPointUri" serializeAs="String">
                <value>https://login.live.com/ppsecure/DeviceAddCredential.srf</value>
              </setting>
                <setting name="OrgDBOrgSettingsTool_Partner" serializeAs="String">
                  <!--- This is applicable only for Online -->
                    <value>Crm.Dynamics.com</value>
                </setting>
                <setting name="OrgDBOrgSettingsTool_Environment" serializeAs="String">
                  <!--- This is applicable only for Online -->
                    <value></value>
                </setting>
            </OrgDBOrgSettingsTool.Properties.Settings>
        </applicationSettings>
    </configuration>


    My blog: www.crmanswers.net - Rockstar 365 Profile

    Wednesday, June 11, 2014 10:36 PM
  • Ok. I have tried doing exactly what you recommend, which I have also tried before, and am still getting an error: "Did not find the Organization for the name provided. Please check the Org Name." I checked and double-checked, and I am certain that I am providing the right organization name in my config file as well as the parameter when I call the Retrieve command.

    Any thoughts? Thanks again for all your assistance.

    Wednesday, June 11, 2014 10:44 PM
  • The organization name doesn't go inside the config file (except for the email of course)

    the /u parameter name normally is the part before .crm4 inside the online address, however some times is different and you need to use the Organization Unique Name that you find under

    Settings -> Customizations > Developer Resources


    My blog: www.crmanswers.net - Rockstar 365 Profile

    • Marked as answer by disanto Wednesday, June 11, 2014 10:56 PM
    Wednesday, June 11, 2014 10:52 PM
  • For some reason, it actually worked this time. I don't think I changed anything. Weird...

    Thanks again!

    Wednesday, June 11, 2014 10:56 PM