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

Use OAuth to Authenticate with the CRM Web Services

Hey guys, Today I’m going to talk about an interesting sample on Windows store apps which will go connect with CRM using Oauth. You’ll need a working knowledge on the following ADAL (Active Directory Authentication Library) – Available on Nuget ADFS 3.0 Window Store Apps A bit of Fiddler (Optional) I’m trying to walk you… 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

Creating records in CRM while Outlook client is in offline mode.

Hello All, I’m back with exciting new sample code to develop your own SDK application with offline capability. The application uses Cassini server URL. This article provides you step by step information how and what to write. I have also mentioned some environment step that you can keep handy. Requirements CRM for Outlook (Offline Capability)… Read more

Implementing authentication using CRM v4 SDK

This post will talk about the various methods used in authenticating with CRM using its Sdk. I will also explain the usage of each method and property. There are various modes in which authentication in CRM can be performed. Active Directory Live Authentication SPLA The below code describes the authentication done with CRM On-Premise version…. Read more