2

我正在尝试使用OrgDBOrgSettings 工具访问在线 CRM 2011 Org。我下载了它并按照说明使用作为指南提供的示例在线配置修改了配置。目前尚不清楚某些设置应该是什么,我最终得到了以下设置。当我运行该应用程序时,它会要求输入密码,然后告诉我在 OrgDBOrgSettings 中发生错误并且错误详细信息是参数不正确的信息量很大的语句。

除了上面的链接之外,似乎没有任何信息可用。有人有什么建议吗?

<setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">
<!--- Please change CrmServer to your Crm Server Name -->
<value>https://crm.dynamics.com/MSCrmServices/2007/CrmService.asmx</value>
</setting>

<setting name="OrgDBOrgSettingsTool_CrmDiscoveryService_CrmDiscoveryService" serializeAs="String">
<!--- Please change CrmServer to your Crm Server Name -->
<value>https://dev.crm.dynamics.com/XrmServices/2011/Discovery.svc</value>
</setting>

<setting name="OrgDBOrgSettingsTool_SKU" serializeAs="String">
<!--- Possible values here are Online/SPLA/OnPrem -->
<value>Online</value>
</setting>

<setting name="OrgDBOrgSettingsTool_UserName" serializeAs="String">
<!--- Please change the value below to your email Id/User Name for Online / SPLA -->
<value>my crm login email</value>
</setting>

<setting name="OrgDBOrgSettingsTool_Domain" serializeAs="String">
<value>DOMAIN</value>
</setting>

<setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">
<value>https://dev.api.crm.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>
4

3 回答 3

1

在 MS 支持的帮助下,我得到了这个工作。我将在下面发布对我有用的配置。请注意,我正在访问 CRM 的在线版本。此外,请确保删除 LiveDeviceID 文件夹中的所有文件,因为当那里存在现有条目时,应用程序似乎会感到困惑。对我来说,该目录位于users/<me>. 另请注意,据称您必须使用 CRM 管理员帐户登录。另请注意,我仅使用 hotmail 电子邮件对此进行了测试。

    <?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://dev.crm.dynamics.com/XrmServices/2011/Discovery.svc</value>
      </setting>
      <setting name="OrgDBOrgSettingsTool_SKU" serializeAs="String">
        <!--- Possible values here are Online/SPLA/OnPrem -->
        <value>Online</value>
      </setting>
      <setting name="OrgDBOrgSettingsTool_UserName" serializeAs="String">
        <!--- Please change the value below to your admin email Id/User Name for Online / SPLA -->
        <value>your_crm_admin_email></value>
      </setting>
      <setting name="OrgDBOrgSettingsTool_Domain" serializeAs="String">
        <value>crmdom</value>
      </setting>
      <setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">
        <value>https://your_org_name.crm.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>INT</value>
      </setting>
    </OrgDBOrgSettingsTool.Properties.Settings>
  </applicationSettings>
</configuration>
于 2012-07-14T00:43:07.933 回答
0

您的 CRM 服务器名称节点在我看来是错误的。试试这个:

<setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">
  <value>http://yourorgname.api.crm.dynamics.com/MSCrmServices/2007/CrmService.asmx</value>
</setting>
于 2012-07-10T08:51:16.890 回答
0

(我知道这个问题很老,但似乎没有任何好的参考资料,所以我想我会在这里添加一些有用的信息)

需要检查的一些事项:

如果您在美国以外使用 CRM Online,则需要在整个过程中将 crm.dynamics.com 替换为 crm4.dynamics.com(针对 EMEA)或 crm5.dynamics.com (APAC)

CRM 服务器名称应为“myorg.crm....”,例如

<setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">
<!--- Please change CrmServer to your Crm Server Name -->
<value>https://YOURORG.crm.dynamics.com/MSCrmServices/2007/CrmService.asmx</value>
</setting>

OrgService URI 需要 api 位,但又应该是 myorg。:

<setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">
<value>https://YOURORG.api.crm.dynamics.com/XrmServices/2011/Organization.svc</value>
</setting>
于 2013-02-12T15:52:55.807 回答