Getting Access Tokens for Dynamics 365 CE

Below I've listed the various grant types that can be used to access Dynamics 365 Web API.

Connect to Azure DevOps using PAT in C#

Here is a code snippet demonstrating how to connect to Azure DevOps using C#.

User Authentication with ASP.NET Web API

I was struggling to understand how to secure my Web API endpoint using some form of authentication mechanism. During my search, I came across a video on YouTube created by…

LINQ examples for Dynamics 365

Below are some sample linq code snippets to help with querying Microsoft Dynamics 365.

Connecting to Dynamics 365 using C#

There are multiple methods for connecting to Microsoft Dynamics from a command line application. Here is a lit of a few methods.

Convert a late bound type to an early bound type

Often you'll find a lot of sample code online written in late bound syntax. You can convert between the two by simply using the ToEntity() method.

Set nullable types in Dynamics 365 & C#

A little code snippet demonstrating how to set nullable types in Microsoft Dynamics 365 CE.

Create, update, delete records in Microsoft Dynamics CE

C# code snippets to help with creating, retrieving, updating and deleting Microsoft Dynamics 365 CE records.