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

Tool for troubleshooting authentication using CRM SDK

Hello Folks, Finally I was able to spend some time out to work on shorter code for CRM connection using late bound approach. More than the helper concept the idea is about a universal application which can help you troubleshoot/isolate the issues with CRM authentication. The blog as an application attached where you will also… Read more

CRM Early Bound Entity Classes in Code Vs. .NET Traditional LINQ (Entity Framework)

Hello Folks, I have been always writing some basic sort of examples on CRM scripting / SDK. This time I have brought down this to .NET core feature called “Entity Framework” versus “CRM SDK”. This article is useful is people who are quite familiar with LINQ but are new to CRM entity classes. Let’s take… Read more

Issues authenticating to CRM Online organizations "An unsecured or incorrectly secured fault was received from the other party"

Hello Developers, This article is most interesting and life saver for who are in trouble with authenticating to CRM Online organizations. Microsoft recently announced about moving organization to integrated O365 environment. Looks awesome!! Does this mean you’ll need to revisit your code?? Yes you will need to 🙂 I’ve framed couple of questions which may cross… Read more

Authenticate Office 365 Users with Microsoft Dynamics CRM Online

Here’s what I have for you guys a simple technique to connect to your CRM office 365 based organizations. I have created a sample to add a new contact. This will help you use the Create function of CRM Service Create an empty solution in VS 2010 Right click, to add new class library project… Read more