CrmSvcUtil.exe is a command-line code generation tool for use with Microsoft Dynamics CRM. This tool generates Early bound class in C# with Custom entities and attributes. Provides Intellisense Support.
Step 1: Download Latest CRM SDK.
Step 2: Open Run and type cmd.
Step 3: In SDK\bin, we can see crmsvcutil.exe. Now provide the path “CRM\SDK\bin” in command prompt.
Organization Service Provide Organization Service. Goto Microsoft Dynamics CRM ->Settings -> Customizations -> Organization Service.
User Id Provide Online 365 User Id or On-Premise domain\userid .
Context Name Provide Context Name.
Step 5: Paste the command line in command prompt and click on enter to generate class file.