Posts

Showing posts from April, 2019

Authenticate MS Graph API Using AppId In Dot net SDK

Introduction In this article, we learn about how to do simple authentication with the MS Graph(Microsoft Graph) API in DotNet or C# Conole App. Description Microsoft Graph is a Unified API. It is a Microsoft developer platform that connects multiple services and devices. Initially released in 2015, the Microsoft Graph builds on Office 365 APIs and allows developers to integrate their services with Microsoft products, including Windows, Office 365, Azure.  Microsoft Graph is a Unified API meaning that single access token created using Microsoft app registration can be used with different service and it is CORS enabled, So No More issue in Browser(CORS issue might be you have faced using Sharepoint REST Request). Recently, I came across a scenario to build a console app in which we have to Integrate Microsoft Graph API using C#. Prerequisite I assume that you have an idea of Registering Microsft Graph app in Microsoft developer platform or Azure Portal (App registration is free by the way…