Jon Rumsey

An online markdown blog and knowledge repository.


Project maintained by nojronatron Hosted on GitHub Pages — Theme by mattgraham

MS Reactor Graph API with DotNET

GraphAPI and DotNet help to automate and integrate:

Introduction

Scott Hanselman

Yina Arenas @yina_arenas

Notes

MS Graph is a:

Why MS Graph?

Does not run on client.

Graph Allows:

Graph API:

Requires:

Note about Azure Tenant: Describes an organization that has an account with Office365 or Azure, etc.

Code Snippets: Generates code in client languages:

Note: PHP and Python are also available (but not necessarily directly from the CodeSnippets tab).

Code Steps

  1. Create scopes (an Array of settings you want to get).
  2. Obtain from MSGraph or Browser-credential storage and create the Credential object.
  3. Make a Graph service and include the credential and the scopes.
  4. Check if Graph Service has the event already.
  5. Create a Graph Todo aka Task.
  6. Create the Graph Event and ensure the correct timezone and offset are expressed.

Get Started With the Graph.NET SDK

Hosts

Ayca Bas

Waldek Mastykarz

Rabeb Othmani - MS Graph PM :arrow-right: /in/othmanirabeb, @Rabeb_Othmani

Maisa Rissi - MS Graph PM :arrow-right: /in/maisarissi, @maisarissi_msft

Agenda

Get Involved

  1. Register at https://aka.ms/hack-together/register
  2. Clone the template code
  3. Code! Use MS Graph DotNET SDK
  4. Submission: github.com/microsoft/hack-together and share your repo in an Issue
  5. Schedule: 1-March through EOD 15-March

Maximum team size: 4

Criteria

  1. Does the app work?
  2. Does the app use the MS Graph .NET SDK?
  3. How creative, innovative, and polished is the app?

Meeting criteria 1 & 2 earns a digital badge award.

Meeting all 3 criteria puts the app in evaluation process for top prizes.

Dive Into Graph

Use Graph Explorer:

Installing and using the SDK

There are different SDKs, tied to each language.

Microsoft Graph Java SDK

For Java:

Use Gradle to install the SDK via dependency object:

dependency {
  implementation 'com.microsoft.graph:microsoft-graph:5.+'
  implementation 'com.azure:azure-identity:1.+'
}

Create an MS Graph client:

Client Middleware:

Client Proxy:

Authentication Provider:

Scopes:

Microsoft Graph DotNET SDK

(more to come)...

Resources

MS Graph SDK Overview SDK Install for Java MS Graph Best Practices

Return to ContEd Index

REturn to Root README