Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Use of CRMWEBApi

Posted on by 2,678

Hi Experts,

I was trying to use CRMWEBApi to create Account in D365 V9. but it is not creating account as per code given below:

Task.Run(async () => {
var cred = new NetworkCredential
{
UserName = "username",
Password = "pwd"
};
var api = new CRMWebAPI("https://<orgname>.crm8.dynamics.com", cred);
JObject contact1 = new JObject();
contact1.Add("name", name);
contact1.Add("address1_telephone1", phone);

response = await api.Create("account", contact1);
}
).Wait();

Please suggest.

*This post is locked for comments

  • Suggested answer
    Ak Negi Profile Picture
    Ak Negi 320 on at
    RE: Use of CRMWEBApi

    Hi Preeti

    Please  check following link

    www.mscrm.com/.../connect-to-dynamics-crm-d365-webapi-v9.html

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans