Answered by:
Hosted Dynamics CRM + manual client provisioning

Question
-
Hi,
I hope someone here can help. I am trying to do a manual provisioning using the following XML file(as described in the Planning guide):
<crmSetup>
<Server>
<Organization>myname.com</Organization>
<licensekey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</licensekey>
<groups replacepreviousgroups="true">
<privusergroup>CN=PrivUserGroup,OU=myname.com,OU=Hosting,DC=unsdk,DC=corp</privusergroup>
<sqlaccessgroup>CN=SqlAccessGroup,OU=myname.com,OU=Hosting,DC=unsdk,DC=corp</sqlaccessgroup>
<usergroup>CN=UserGroup,OU=myname.com,OU=Hosting,DC=unsdk,DC=corp</usergroup>
<reportinggroup>CN=ReportingGroup,OU=myname.com,OU=Hosting,DC=unsdk,DC=corp</reportinggroup>
</groups>
</Server>
</crmSetup>I run following command: SetupServer.exe /Q /L C:\logs\myname.com.log /config C:\configFiles\thexmlfile.xml
The planning guide says i should add the groups in the OU i want to enable for hosted CRM.
After i run the setup i often get following errors in the log file:
1)<OU> node was not found
2)Error | Check GroupValidator: Failure: One or more CRM groups are not valid: The group scope must be domain or local. The group type must be security.
The client is not enabled for CRM
The groups are in domain scope and are security groups.
When doing a setup twice it will uninstall CRM the second time.
I really hope someone can help me out here,
Greetings
Jona
Saturday, September 22, 2007 6:07 AM
Answers
-
Your first problem is that the XmlElements are case sensitive. The following (from Simon Hutson's blog - http://blogs.msdn.com/ukcrm/archive/2005/12/07/501187.aspx) shows the correct casing. Interestingly it doesn't have an <OU> element, so you may well manage without
<Server>
<SqlServer>SQL01</SqlServer>
<Database create="true" />
<Organization>Microsoft UK</Organization>
<licenseKey>XXXX-XXXX-XXXX-XXXX-XXXX</licenseKey>
<WebsiteUrl Create="False">/LM/W3SVC/1</WebsiteUrl>
<InstallDir>C:\Program Files\Microsoft CRM</InstallDir>
<CrmServiceAccount type="NetworkService" />
<Reporting UseSSL="False" URL="http://RPT01/ReportServer" />
<Groups autogroupmanagementoff="true">
<PrivUserGroup>CN=CRMPrivUserGroup,OU=...</PrivUserGroup>
<SQLAccessGroup>CN=CRMSQLAccessGroup,OU=...</SQLAccessGroup>
<UserGroup>CN=CRMUserGroup,OU=...</UserGroup>
<ReportingGroup>CN=CRMReportingGroup,OU=...</ReportingGroup>
</Groups>
<reboot>false</reboot>
</Server>
</CRMSetup>Monday, September 24, 2007 12:37 PMModerator
All replies
-
Your first problem is that the XmlElements are case sensitive. The following (from Simon Hutson's blog - http://blogs.msdn.com/ukcrm/archive/2005/12/07/501187.aspx) shows the correct casing. Interestingly it doesn't have an <OU> element, so you may well manage without
<Server>
<SqlServer>SQL01</SqlServer>
<Database create="true" />
<Organization>Microsoft UK</Organization>
<licenseKey>XXXX-XXXX-XXXX-XXXX-XXXX</licenseKey>
<WebsiteUrl Create="False">/LM/W3SVC/1</WebsiteUrl>
<InstallDir>C:\Program Files\Microsoft CRM</InstallDir>
<CrmServiceAccount type="NetworkService" />
<Reporting UseSSL="False" URL="http://RPT01/ReportServer" />
<Groups autogroupmanagementoff="true">
<PrivUserGroup>CN=CRMPrivUserGroup,OU=...</PrivUserGroup>
<SQLAccessGroup>CN=CRMSQLAccessGroup,OU=...</SQLAccessGroup>
<UserGroup>CN=CRMUserGroup,OU=...</UserGroup>
<ReportingGroup>CN=CRMReportingGroup,OU=...</ReportingGroup>
</Groups>
<reboot>false</reboot>
</Server>
</CRMSetup>Monday, September 24, 2007 12:37 PMModerator -
Hi David
thanks for your reply. This is indeed the xml i used for the installation of the CRM. And it worked fine.
As mentioned in the title of this post, i am trying to implement hosted CRM. The XML example i used in this post is described in the implementation guide for hosted crm and i used for the provisioning of a hosted service for an organization.
I have the feeling there is a command line argument i am missing, do you have any idea where i can find the command line arguments for Setupserver.exe , Setupserver.exe /? doesn"t help.
Thank you
Jona
Monday, September 24, 2007 7:17 PM