Unable to login to Dynamics CRM error while generating Crm proxy class – CrmSvcUtil
If you are experiencing the error ‘Unable to login to Dynamics CRM’ while generating the CRM Proxy class using CrmSvcUtil tool, you should try this to resolve it.
There is a new command parameter added to the CrmSvcUtil tool : interactivelogin:true
You may append this command parameter to your CrmSvcUtil command line and this would give you a pop up to enter the credentials and would sort the above mentioned issue.
Your command would look like:
CrmSvcUtil.exe /url:<Server url>/<Organization> /username:<username> /password:<pwd> /domain:<domain> /out:”Xrm.cs” /namespace:Xrm /serviceContextName:CrmContext /interactivelogin:true
Interactive Login popup window: