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:

interactivesericelogin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s