Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Exploring the Microsoft Graph SDK

Play Exploring the Microsoft Graph SDK
Sign in to queue


Microsoft Graph is a gateway to the data and intelligence in Microsoft 365. It provides a unified programming model that you can use to take advantage of the data in Office 365, Enterprise Mobility + Security, and Windows 10.

In this episode we're joined by Darrel Miller (@darrel_miller), PM for Microsoft Graph developer tooling. Darrel gives us an overview of what Microsoft Graph is, and also shows us how to get started with the .NET SDK.

  • [00:54] - What is Microsoft Graph?
  • [02:25] - Getting started
  • [06:34] - Graph .NET SDK demo
  • [13:45] - Providing a token to the SDK
  • [16:58] - Reading information with the fluent API
  • [19:40] - Sending email via the SDK
  • [21:32] - Customizing the underlying API request
  • [23:39] - How does Microsoft Graph and the SDK get versioned?

Useful Links





The Discussion

  • User profile image
    bogdan.beda can do async Main :P
  • User profile image
    Osheen Khare

    Where can I find the documentation for Graph SDK (not the graph API).

  • User profile image
    I thought I had heard that you could do async Main but when I tried it, it didn't work for me. I guess I was doing something else wrong :)
  • User profile image
    Hey Osheen,

    The documentation for the SDK are in the GitHub repo under the "docs" folder. We are working on moving them to the main docs site.
  • User profile image
    fine dock

    how to find documentation for graph

  • User profile image
    Your tutorial is very informative, the issue that I’m currently experiencing at the moment is that when I attempt to get a token from my azure login and pass that into the bearer automatically I get an error at the line “client.Me.Messages” I’ve detailed my issue on Stack Overflow link , and any help on this would be greatly appreciated. However manually copying in the bearer token in as in your video works just fine.

    My project is developed using 'ASP.NET Core 2.2', 'Work and Schools Account', 'Cloud - Single Organisation' using 'Two Factor Azure Sign-on Authentication'.

Add Your 2 Cents