Join our Newsletter — 33% off our NHI Course
Home› Guides› Microsoft Graph API for Beginners: The Single Door…
Guide Cloud & Workload Identity

Microsoft Graph API for Beginners: The Single Door Into Microsoft 365 Data

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 4 December 2026 11 min read
On this page

Microsoft Graph is one web address that apps use to read and change data across Microsoft 365.

This guide is for anyone who has seen "Graph" on a consent screen or in an IT ticket and wants a plain answer. You do not need to write code. If your organisation uses Outlook, Teams or OneDrive, apps are probably using Graph to reach that data.

In short

  • Graph is a single front door for data in Microsoft 365, such as mail, files, calendars, Teams and user accounts.
  • An app must be registered and must show a short-lived pass, called an access token, before Graph answers it.
  • Permissions decide what the app may reach. Some act for a signed-in person. Others let the app act alone across the whole organisation.
  • Give each app the smallest permission it needs, give it an owner, and review powerful app-only permissions often.

What you will learn

  • Explain what Microsoft Graph is in one sentence.
  • Spot the difference between an app acting for a person and an app acting alone.
  • Read a permission name such as User.Read.
  • Ask the right questions before anyone approves an app.
Door for software (API)
a set of rules that lets one program ask another for data or actions.
Short-lived pass (access token)
proof an app shows with each request, listing what it may do.
Allowed actions (permissions)
the named rights an app has been given, such as reading a profile.

What is Microsoft Graph?

Think of a big office building with one staffed front desk. Every visitor goes to the same desk, shows a pass, and the desk sends them only to the floors the pass allows.

Microsoft Graph is that front desk for Microsoft 365. It is an API, which means a door built for software rather than people. Apps send their requests to one address, graph.microsoft.com. Graph then passes them on to services such as Outlook, OneDrive, Teams and the user list [1].

Microsoft calls Graph the gateway to data in its cloud. That includes Microsoft 365 and Microsoft Entra, the service that signs people and apps in [1]. So one door can lead to email, files, chats and staff records.

Where the comparison stops working: a real front desk sees the visitor's face. Graph sees only the pass. If someone copies an app's pass or its secret, Graph treats them as the app.

Each app that calls Graph has its own account and credentials, so it is a non-human identity: an identity for software, not a person. See Non-Human Identities for Beginners for the bigger picture.

Why does it matter?

Because one door leads to so much data, the rights an app holds on Graph decide how much harm a mistake can cause.

If you run a small business

What could happen: a handy add-on asks to read every mailbox, and someone clicks Accept without reading.

Check this: ask your IT supplier which apps can read mail or files across the business.

Next: How to find high-privilege Microsoft Graph application permissions

If you are new to IT work

What could happen: an app secret pasted into a ticket lets anyone who reads it act as the app.

Check this: keep app secrets in a vault and never in chat, email or tickets.

Next: Non-Human Identities for Beginners

If you approve apps as a manager

What could happen: an app you approved years ago still has wide access, and nobody owns it now.

Check this: ask for a yearly list of apps with their owner and permissions.

Next: Microsoft Graph API Security Guide

What does it look like?

Here is a made-up record for an app that has been allowed to use Graph. It shows what to look for.

Example only. All values are made up.

App name:     EXAMPLE-Rota-Helper
App ID:       00000000-0000-0000-0000-000000000000
Owner:        (none listed)                        (1)
Permission:   User.Read          type: delegated   (2)
Permission:   Calendars.ReadWrite type: delegated  (3)
Permission:   Mail.Read          type: application (4)
Secret:       FAKE-secret-0000, expires 2099       (5)
  1. No owner means nobody is clearly responsible for reviewing it.
  2. Reads the signed-in person's own profile. A small, common permission.
  3. Lets the app change calendars for the person using it.
  4. App-only access to mail. In a real file, this line would show the app can read mail without anyone signed in.
  5. A secret that lasts for decades works for anyone who copies it.

Why this is risky: a rota app has no clear need to read mail on its own, and the secret is long-lived with no owner.

The safer way: remove the mail permission, name an owner, and use a short-lived secret or a certificate stored in a vault.

How does it work?

  1. Register the app. Before an app can call Graph, someone registers it in Microsoft Entra. This gives it an ID and, for server apps, a credential such as a secret or a certificate [3].
  2. Grant permissions. The app is given named permissions. A person or an admin agrees to them. This step is called consent (approving what an app may access) [2].
  3. Get a token. The app proves who it is to the Microsoft identity platform and gets an access token. The token holds facts about the app and, where a person is signed in, about that person [3].
  4. Call Graph. The app sends each request to graph.microsoft.com with the token attached. Graph checks the token and its permissions before it answers [3].
  5. Keep a record. Admins can switch on Graph activity logs, which record the requests Graph receives for the organisation [4].
Diagram titled How an app reaches Microsoft 365 data through Graph. Four boxes in a row joined by numbered arrows. Box 1, The app: a program your organisation has registered. Arrow 1 to box 2, Sign-in service: the Microsoft identity platform checks the app. Arrow 2 to box 3, The app now holds a short-lived access token. Arrow 3 to box 4, Microsoft Graph, highlighted in green: one address, graph.microsoft.com, leading to mail, files, Teams, users and calendars. A note says the app asks for a token, gets a token listing its permissions, then sends each request to Graph with the token, and Graph checks the permissions.
Figure 1. The app gets a token first, then uses it on every request to Graph.

There are two kinds of permission. Delegated permissions are used when a person is signed in. The app can reach only what both the app and that person are allowed to reach [2].

Application permissions are used when the app runs alone, with no one signed in. The app can reach all the data the permission covers, so Microsoft calls these highly privileged. Only an admin can approve them [2].

Diagram titled Two ways an app can be allowed in, with two panels. Left panel, On behalf of a person, called delegated permissions: a person signs in to the app; the app can reach only what that person can reach; people or admins can agree; it ends up limited by the user. Right panel, highlighted in green, On its own with no person, called application permissions: no one is signed in; the app can reach everything the permission covers; only an admin can agree; review these with extra care.
Figure 2. Delegated permissions are limited by the signed-in person. Application permissions are not.

Permission names follow a simple pattern: the kind of data, then the action, then how far it reaches. If the last part is missing, the permission usually covers only the signed-in person's own data [2].

Diagram titled Reading a permission name. Three boxes in a row. Resource: what kind of data, for example User, Group or Application. Operation: what it may do, for example Read, ReadWrite or Create. Constraint, highlighted in green: how far it reaches, for example All or OwnedBy; blank means only the signed-in user's data. Notes underneath: User.Read means read the signed-in person's profile. Application.ReadWrite.All means manage every app in the organisation.
Figure 3. A permission name tells you the data, the action and the reach.

A worked example

This story is made up to show the idea.

Priya Raman looks after IT for Larkspur Lettings, a small letting agency. A colleague, Rhys Morgan, finds a tool that turns emails from tenants into repair tickets. He asks Priya to approve it.

The approval screen lists what the tool wants. Priya sees it asks to read mail with an application permission. She knows that means it could read every mailbox in the business, with no one signed in.

She asks Rhys what the tool really needs. It only needs the shared repairs mailbox. Priya contacts the supplier. They explain the tool can also work with delegated access, signed in as the repairs account, so it reaches only that mailbox.

Priya approves the smaller option. She records Rhys as the owner of the app and sets a reminder to review it in a year. She also turns on Graph activity logs, so she can see which apps call Graph and how often.

A month later the logs show the tool calling Graph only for the repairs mailbox, in the records available to her. Rhys is happy, and Priya has avoided handing one small tool the keys to every inbox.

Priya learned that the name of a permission, and whether it is delegated or application, matters more than the friendly name of the app.

Myths and mistakes

What people thinkWhat is true
Graph is a separate product we have to buy.Graph is the API that sits in front of Microsoft 365 data. Apps you already use may call it.
If a person approved the app, it can only see their data.That holds for delegated permissions. Application permissions approved by an admin can reach data across the organisation.
Read-only permissions are always harmless.Reading every mailbox or file is serious, even with no changes.
More permissions now saves time later.Microsoft advises asking only for the least permission each task needs.[2]
Once approved, an app can be forgotten.Apps outlive projects. Each one needs an owner and a regular review.

What can I do this week?

  • Ask IT for a list of apps that use Graph application permissions.
  • Check that each app on the list has a named owner.
  • Look for apps with permissions ending in "All" and ask why they need them.
  • Find out whether Graph activity logs are switched on.

Checklist

  • I can explain Graph as one door to Microsoft 365 data.
  • I know the difference between delegated and application permissions.
  • I can read a permission name and spot one that reaches "All".
  • Every app using Graph has a named owner.
  • App secrets are kept in a vault, not in files, chat or tickets.
  • Powerful app-only permissions are reviewed on a schedule.
  • Someone checks the Graph activity logs or an alert built from them.

Common questions

Is Microsoft Graph the same as Microsoft 365?

No. Microsoft 365 is the set of services, such as Outlook, Teams and OneDrive. Graph is the API apps use to reach the data inside those services. Think of Microsoft 365 as the building and Graph as its front desk for software.

Who can approve an application permission?

Only an admin. Microsoft's documentation says application permissions need admin consent, and it names roles such as Privileged Role Administrator and Global Administrator as able to give it. People can approve some delegated permissions for their own data, if the organisation's settings allow it [2].

What is the difference between User.Read and User.Read.All?

Reach. User.Read lets an app read the signed-in person's own profile. Adding "All" widens the reach to every user in the organisation. The same naming pattern applies across Graph [2], so the ending of a permission name is worth checking before you approve it.

Are Graph apps non-human identities?

Yes. Each registered app has its own account in the directory and its own credentials, such as a secret or certificate. That makes it a non-human identity. It needs an owner, the least access it can work with, and credentials that are kept safe and changed.

Can I see what apps did through Graph?

Often, yes. Graph activity logs record the requests Graph receives, including which app made them and when. An admin must switch them on, and Microsoft lists an Entra ID P1 or P2 licence as a requirement. The logs can be sent to a log store or a security monitoring tool [4].

Where next?

Ready for the detail? Read the practitioner guide: Microsoft Graph API Security Guide. It goes further into permission reviews, app credential choices and how to detect misuse in the logs.

Also useful:

Related NHI Mgmt Group resources: Secrets Management for Beginners, Least Privilege for Beginners and Workload Identity Federation for Beginners.

Key terms

Microsoft Graph
The API that connects apps to data in Microsoft 365 services, such as mail, files, chats and sites.
Access token
A short-lived credential that lets an app call a service with specific permissions.
Delegated permissions
Rights an app uses on behalf of a signed-in person, limited by what that person can reach.
Application permission
A right that lets an app act with no signed-in person, often with wide reach.
An admin's approval for an app to use certain permissions across the organisation.
App registration
The record in Microsoft Entra that defines an app, how it proves who it is, and what it may ask for.
Least privilege
Giving each person or program only the access it needs, and no more.

Sources and further reading

  1. Microsoft, "Overview of Microsoft Graph", Microsoft Learn, last updated 15 April 2026. https://learn.microsoft.com/en-us/graph/overview (accessed 4 Dec 2026).
  2. Microsoft, "Overview of Microsoft Graph permissions", Microsoft Learn, last updated 26 December 2025. https://learn.microsoft.com/en-us/graph/permissions-overview (accessed 4 Dec 2026).
  3. Microsoft, "Authentication and authorization basics", Microsoft Learn. https://learn.microsoft.com/en-us/graph/auth/auth-concepts (accessed 4 Dec 2026).
  4. Microsoft, "Access Microsoft Graph activity logs", Microsoft Learn. https://learn.microsoft.com/en-us/graph/microsoft-graph-activity-logs-overview (accessed 4 Dec 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.