locked
CRMSvcUtil issue RRS feed

  • Question

  • Hi all 

    I tried to generate the class with the crmsvcutil and I gave all the parameters correctly only but when I run it. It saying that username is not provided.

    

    Thursday, February 5, 2015 6:11 AM

Answers

  • Hi,

    Try to place all parameters in ""

    like here:

    https://msdn.microsoft.com/en-us/library/gg695820.aspx

    • Marked as answer by shiva_prasad Thursday, February 5, 2015 11:50 AM
    Thursday, February 5, 2015 7:18 AM

All replies

  • First make sure you are in same folder where CrmSvcUtil.exe is located in command prompt.

    Run this command for online organisations

    CrmSvcUtil.exe /url:https://<organizationUrlName>.api.crm.dynamics.com/XRMServices/2011/Organization.svc    /out:<outputFilename>.cs /username:<username> /password:<password> 


    Regards, Saad


    • Edited by Mohd Saad Thursday, February 5, 2015 7:16 AM
    Thursday, February 5, 2015 7:12 AM
  • Hi,

    Try to place all parameters in ""

    like here:

    https://msdn.microsoft.com/en-us/library/gg695820.aspx

    • Marked as answer by shiva_prasad Thursday, February 5, 2015 11:50 AM
    Thursday, February 5, 2015 7:18 AM