locked
Crm 2013 SDK 6.1 - CrmSvcUtil error "The username is not provided. Specify username in ClientCredentials" RRS feed

  • Question

  • Hi, I recently upgraded to Crm SDK 2013 6.1.

    After upgrading the SDK, I tried to generate the Xrm.cs using CrmSvcUtil as mentioned below.

    CrmSvcUtil.exe /url:https://<org>.api.crm.dynamics.com/XRMServices/2011/Organization.svc /out:"Xrm.cs" /username:"<username>@<org>.onmicrosoft.com" /password:"<password>" /serviceContextName:"XrmServiceContext"

    However, above command returns following error.

    "The username is not provided. Specify username in ClientCredentials"

    Previously, I was using an older version of the Crm 2013 SDK. It worked fine. Previous version was Crm SDK 2013 6.0.3.

    I was googling around and I found many users facing this issue. Below are the links.

    http://social.microsoft.com/Forums/en-US/5c0b0367-3267-4bbe-8a25-47ed1b4b2084/crmsvcutil-error-username-is-not-provided?forum=crm

    Is there some problem with Crm SDK 2013 v6.1?


    Regards, Parth Shah

    Thursday, May 15, 2014 10:43 AM

All replies

  • I had the same problem. I was able to solve it by following this guide:

    http://thinketg.com/strongly-typed-code-file-generation-with-crmsvcutil-exe-for-crm-2011-ifd-configurations-code
    Friday, May 23, 2014 12:51 PM
  • As explained in the other thread, the problem looks like connected to the Microsoft.Xrm.Sdk.dll introduced from sdk 6.0.4v2. You can use an older sdk (the 6.0.3 as you used before) until the problem isn't fixed in a future sdk release.

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

    Friday, May 23, 2014 1:01 PM
  • Hey Guido...any idea where one can locate the download for previous versions? I keep getting redirected to the 6.1 download by MSFT...

    thanks!

    Sunday, July 6, 2014 2:31 PM
  • The link is in the other thread, however I write here as well:

    OneDrive Folder


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

    Sunday, July 6, 2014 2:44 PM