Retrieving data from Dynamics 365

Introduction

The post describes several methods for retrieving data from Dynamics 365 (i.e. Dataverse). The example described in this post searches the systemusers entity for users who have the name ‘smith’. It then creates a list of those users.

Retrieving data using C#

Query Expression

Fetch XML

LINQ

Retrieving data using JavaScript

Web API

Example 1

Example 2