Unify Integrations
Logo
Microsoft Graph API

Microsoft Graph API

Logo

4 mins READ

Microsoft Graph API is a unified RESTful endpoint that allows developers to access data and intelligence across Microsoft 365 services like Outlook, Teams, OneDrive, and Azure Active Directory. It enables secure, granular, and real-time interactions with user and organizational data.

Integrating Microsoft Graph API provides a single access point to build powerful, cross-platform Microsoft 365 applications with real-time insights and seamless data flow. 

Authentication

Ensure you have the following information ready for a seamless integration process:

  • Connection Name: Select a descriptive name for your connection, like "MyAppMicrosoftGraphAPIIntegration". This helps in easily identifying the connection within your application or integration settings.

  • Authentication Type: Microsoft Graph API supports OAuth authentication for integrations.

OAuth Based Authentication

  • Login into the Microsoft Azure Portal by clicking here.

  • In the search Bar, search for App Registration and then click on New registration.

  • Provide the name, supported account types, Redirect URIs and register your app. 

Frame 30.png
Frame 30.png
  • In the Overview tab, you can find the Client ID and Tenant ID. Required permissions can be granted in the API Permissions tab

Frame 31.png
Frame 31.png
  • To create a client secret, click on the Certificates and Secrets tab and click on New client secret. Copy the “Value” as the Client secret and store it securely to prevent unauthorized access.

Frame 32.png
Frame 32.png

Permissions

Scope CodeDescription
offline_accessMaintain access to data you have given it access to, even when you are offline.
files.readwriteRead and write user files and files shared with the user.
files.readwrite.allRead and write all files that the signed-in user can access.
Sites.ReadWrite.AllGrants an application broad access to SharePoint and OneDrive resources

Sensitive Permissions

Admin permissions are required for the following scopes: 

Scope CodeDescription
group.readwrite.allRead and write all groups. Allows creating, updating, and deleting groups without user consent.
people.read.allRead the profiles of all users in the directory.
user.readwrite.allRead and write all users' full profiles. Allows creating, updating, and deleting user accounts.

Actions

Action NameDescription
Create listCreates a new list via Microsoft Graph API
Create mailCreates a new message via Microsoft Graph API
Create userCreates a new user via Microsoft Graph API
Delete listDeletes a list via Microsoft Graph API
Delete mailDeletes a mail via Microsoft Graph API
Delete mail attachmentDeletes a mail attachment via Microsoft Graph API
Delete userDeletes a user via Microsoft Graph API
Get listGets a list via Microsoft Graph API
Get mailGets a mail via Microsoft Graph API
Get mail attachmentGets mail attachment via Microsoft Graph API
Get userGets a user via Microsoft Graph API
List licenseLists license details of a user via Microsoft Graph API
List listsLists lists via Microsoft Graph API
List mailLists mails via Microsoft Graph API
List userLists users via Microsoft Graph API
Move mailMoves mail via Microsoft Graph API
Send mailSends a mail message via Microsoft Graph API
Update licenseUpdates license via Microsoft Graph API
Update mailUpdates a mail via Microsoft Graph API
Update userUpdates a user via Microsoft Graph API