web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

how to create a plugin for create a new record of contact entity

(0) ShareShare
ReportReport
Posted on by 20

I want plugin in c# code for creating new record of contact entity. and also insert same record in sql DB  using web api 

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    You can start here - docs.microsoft.com/.../tutorial-write-plug-in

  • Suggested answer
    prt33k Profile Picture
    6,907 on at

    To create a contact in plugin is straight forward. You can use something like this:

    community.dynamics.com/.../plugin-create-a-new-record-in-an-existing-entity

    Coming to webAPI part, you can create a webAPI to insert record in SQL

    www.c-sharpcorner.com/.../

    However this is on SQL Azure. If you need something for SQL On-Prem then hybrid connection might help:

    github.com/.../web-sites-hybrid-connection-connect-on-premises-sql-server.md

    Thanks,

    Prateek

  • Suggested answer
    Anthony Dong Profile Picture
    Microsoft Employee on at

    you can follow up this link to use Plugin to create new Contact docs.microsoft.com/.../tutorial-write-plug-in

    carldesouza.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans