CrmSvcUtil.exe
/url:<Organization Service>
out:<Class Name>.cs
/username:"<User Id>"
/password:"<Password>"
/namespace:<Namespace>
/serviceContextName:<Context Name>
Parameter | Description |
Organization Service | Provide Organization Service. Goto Microsoft Dynamics CRM ->Settings -> Customizations -> Organization Service. |
Class Name | Provide Output Class Name. Ex: D:\OutputFile.cs |
User Id | Provide Online 365 User Id or On-Premise domain\userid . |
Password | Provide Password. |
Namespace | Provide Namespace name. |
Context Name | Provide Context Name. |
Example:
CrmSvcUtil.exe /url:https://OrgName.api.crm5.dynamics.com/XRMServices/2011/Organization.svc /out:C:\Users\arunpotti\Desktop\EarlyBound.cs /username:"[email protected]OrgName.onmicrosoft.com" /password:"password" /namespace:earlybound /serviceContextName:ServiceContext