Apurv's D365 Blog

Code Samples & Troubleshooting Tips on Dynamics 365 (CRM) and Portals

Configure Azure and create dynamics 365 apps using OAuth, WebAPI (C#)

Hey Everyone This blog covers the configuration steps that are required for app registration in Azure console and then consume WebAPI for creating and search existing records in CRM. Prerequisites : Using Azure Management Console Json Serialize using Newtonsoft Basic understanding of HttpClient and WebAPI in general ADAL (Azure Active Directory Authentication Library) CONFIGURE YOUR… Read more

WebAPI Series 1 – Using Jscript to update record attributes

Hey Folks, Since the launch of CRM 2016 we have been officially using WebAPI which is something the coolest. I’m not going to talk much here about this but have developed a sample for quick use. The sample is used for updating an account record.   function Test() { var clientUrl = Xrm.Page.context.getClientUrl(); var req… Read more