Setup Online Microsoft Dynamics CRM And Create Contact Using Web Service

Here are the steps to setup Online Microsoft Dynamics CRM and create contact data using web service:

Step 1: Click here to setup your Online Microsoft Dynamics CRM setup. Here are the steps.  
 
Step 2: Create your User ID and password. 
 
 
 
Step 3: Select Text me or Call me option and enter your contact number so you will get the code by sms or by phone call.
 
 
 
Step 4 : Enter the verification code and complete the setup.
 
 
 
 
 
Step 5: Click the link sign in here  and this will redirect you on Microsoft Dynamics CRM.
 
 
 
 
 
 
Step 6: Now we have to create a web service that will insert the contact details into CRM.

For that create a new project as shown below:
 
 
Step 7: Select Empty template and give a name 'WebServiceMSCRM',
 
 
Step 8: Now right click on project and click on add, new item, then web services (ASMX).
 
 
 
 
Step 9:  Now open WebServiceMSCRM.asmx file.
 
 
Step 10: Now we have to download the Microsoft Dynamics CRM Software Development Kit (SDK) for CRM Online and on-premises CRM 2015 and add reference in our project as shown below:
 
 
 
Namespace
 
Step 11: Create Web method using IOrganizationService as shown below:
 
Step 12: Now create the CreateService function as below, 
 
Provide your url that match the servername and organization in Organizationuri section.
 

Provide Username and password to get devicc id.
 
Step 13: Now run the service and call CreateContact method and provide ContactFirstName as shown below:

Web service
 
Step 14: Enter name and click on Invoke button.

Content
 
 
Step 15: Now check your Microsoft dynamics CRM, go to Sales, then Contacts and it will insert the contact details in CRM.

CRM
 
You can use this service in your website contact page and insert the contact details in Microsoft Dynamics CRM.

This will help your organization to manage the sales lead.

Up Next
    Ebook Download
    View all
    Learn
    View all