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

About the Author Dynatecon Solutions

DYNATECON is a group of dynamic professionals who are passionate about building affordable IT solutions using Dynamics 365 and Power platform. We focus on enabling digital transformation in Small scale as well as Medium scale industries. Whether you have 1 user or 100 users and planning to implement a new CRM system, please contact us at info@dynatecon.com. We can guide you for sure!

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