close
Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nango.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

πŸš€ Quickstart

Connect to Microsoft with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Microsoft.
2

Authorize Microsoft

Go to Connections -> Add Test Connection -> Authorize, then log in to Microsoft. Later, you’ll let your users do the same directly from your app.
3

Call the Microsoft API

Let’s make your first request to the Microsoft Graph API (fetch the current user’s profile). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/v1.0/me" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Microsoft Integration Guides

Nango maintained guides for common use cases. Official docs: Microsoft Graph API documentation

🧩 Pre-built syncs & actions for Microsoft

Enable them in your dashboard. Extend and customize to fit your needs.

Applications

Function nameDescriptionTypeSource code
create-applicationCreate a new application in Microsoft Entra IDActionπŸ”— Github
delete-applicationDelete or archive an application in Microsoft.ActionπŸ”— Github
get-applicationRetrieve a single application from Microsoft.ActionπŸ”— Github
list-applicationsList applications from Microsoft Graph APIActionπŸ”— Github
update-applicationUpdate an application in Microsoft EntraActionπŸ”— Github

Devices

Function nameDescriptionTypeSource code
list-devicesList devices from Microsoft GraphActionπŸ”— Github

Directory

Function nameDescriptionTypeSource code
list-directory-rolesList directory roles from Microsoft Graph. Returns activated directory roles in the tenant.ActionπŸ”— Github

Directory Roles

Function nameDescriptionTypeSource code
get-directory-roleRetrieve a single directory role from Microsoft.ActionπŸ”— Github
list-directory-role-membersList all members (users and service principals) assigned to a directory role in Microsoft.ActionπŸ”— Github

Groups

Function nameDescriptionTypeSource code
add-group-memberAdd a member (user, group, or service principal) to a group in Microsoft.ActionπŸ”— Github
create-groupCreate a group in MicrosoftActionπŸ”— Github
delete-groupDelete or archive a group in MicrosoftActionπŸ”— Github
get-groupRetrieve a single group from Microsoft.ActionπŸ”— Github
list-group-membersList all direct members of a group in MicrosoftActionπŸ”— Github
list-groupsList groups from MicrosoftActionπŸ”— Github
remove-group-memberRemove a member from a group in Microsoft.ActionπŸ”— Github

Organizations

Function nameDescriptionTypeSource code
get-organizationRetrieve a single organization from Microsoft.ActionπŸ”— Github
list-organizationsList organizations from Microsoft Graph.ActionπŸ”— Github
update-organizationUpdate the properties of a Microsoft organization.ActionπŸ”— Github

Service Principals

Function nameDescriptionTypeSource code
create-service-principalCreate a service principal in Microsoft Entra ID for an existing application.ActionπŸ”— Github
delete-service-principalDelete a service principal in Microsoft Entra IDActionπŸ”— Github
get-service-principalRetrieve a single service principal from Microsoft.ActionπŸ”— Github
list-service-principalsList service principals from Microsoft GraphActionπŸ”— Github
update-service-principalUpdate a service principal in Microsoft Entra ID.ActionπŸ”— Github

Users

Function nameDescriptionTypeSource code
create-userCreate a user in Microsoft Azure ADActionπŸ”— Github
delete-userDelete or archive a user in MicrosoftActionπŸ”— Github
get-userRetrieve a single user from MicrosoftActionπŸ”— Github
list-user-membershipsList all groups, directory roles, and administrative units that a user is a member of in Microsoft.ActionπŸ”— Github
list-usersList users from MicrosoftActionπŸ”— Github
update-userUpdate a user in Microsoft Entra IDActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
update-groupUpdate a group in Microsoft.ActionπŸ”— Github
applicationsSync applications from Microsoft GraphSyncπŸ”— Github
directory-rolesSync directory roles from MicrosoftSyncπŸ”— Github
groupsSync groups from Microsoft Graph with incremental delta trackingSyncπŸ”— Github
organizationsSync organizations from MicrosoftSyncπŸ”— Github
service-principalsSync service principals from Microsoft GraphSyncπŸ”— Github
usersSync users from MicrosoftSyncπŸ”— Github