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.


    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:

    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...


    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