Need help in setting up Microsoft graph API

Tanmoy Paul 1 Reputation point
2021-10-28T18:35:35.05+00:00

Need help in setting up Microsoft graph API

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,735 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Danstan Onyango 3,741 Reputation points Microsoft Employee
    2021-11-01T07:26:54.253+00:00

    Microsoft Graph API gives access to data in M365. It is protected by Azure AD and thus requires you to have an access token to access the data. Here is a few steps to get started in playground.

    1. Go to https://aka.ms/ge to open Graph Explorer.
    2. Sign in with your account and start playing around with the samples in the Sample requests section.

    Once ready to start building your apps. You will need to register an app with Azure AD and add the permissions for the data that you would like your app to access through. Here are a few points to consider.

    1. If users will login through your app and grant permissions so that you(your app) can access data on their behalf, you will need to follow Get access on behalf of a user
    2. If your app will not need user interaction for example running on server side environment, then you can get started with Get access without a user

    You can also check Microsoft Graph Quick Start Gallery where you can kick start a sample app in your desired language and get going.

    0 comments No comments

  2. Tanmoy Paul 1 Reputation point
    2021-11-23T01:58:57.123+00:00

    How can I configure my account to give admin consent permission to my application ?

    0 comments No comments