Geeks With Blogs
Wes Weeks

Worked on a CRM which had a need to limit the users that could be chosen to a specific OU.  This should be simple enough with the CRM deployment config tool following these instructions:

http://support.microsoft.com/kb/959549

However it did NOT work.  The error I got was:

Command failed with the following message: The parameter does not start with '-';

 

The command I used that gave me this error was

Microsoft.Crm.DeploymentConfigTool.exe userorgsettings update -organization:<ORG_NAME> -propertyname:UserRootPath -propertyvalue:LDAP://mydomain.local/OU=CRM Users;DC=mydomain;DC=local

 

Exactly as the instructions indicated.  Searched the net and could not find any help on this.  After several hours of frustration, I figured out the cause.

 

Turns out, you have to put the domain OU property in quotes.  The command that worked was:

Microsoft.Crm.DeploymentConfigTool.exe userorgsettings update -organization:<ORG_NAME> -propertyname:UserRootPath -propertyvalue:LDAP://mydomain.local/OU=CRM Users;DC=mydomain;DC=local

 

It appears that the issue is that the command is reading the colon after the LDAP as indicating another parameter.

 

Happy Coding!

Posted on Wednesday, June 30, 2010 9:05 AM Microsoft CRM | Back to top


Comments on this post: Microsoft CRM Deployment Config Tool Command Failed

# re: Microsoft CRM Deployment Config Tool Command Failed
Requesting Gravatar...
Disaster Recovery? What is this? A new application? If it is, then what is the main objective of this program? Love to see it in action. - Nancy Alcorn
Left by Nancy Alcorn on Jan 06, 2012 11:28 PM

Your comment:
 (will show your gravatar)


Copyright © Wes Weeks | Powered by: GeeksWithBlogs.net