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.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Microsoft.
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.
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:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
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.- How to register your own Microsoft OAuth app
Register an OAuth app with Microsoft and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Microsoft
Enable them in your dashboard. Extend and customize to fit your needs.Applications
| Function name | Description | Type | Source code |
|---|---|---|---|
create-application | Create a new application in Microsoft Entra ID | Action | π Github |
delete-application | Delete or archive an application in Microsoft. | Action | π Github |
get-application | Retrieve a single application from Microsoft. | Action | π Github |
list-applications | List applications from Microsoft Graph API | Action | π Github |
update-application | Update an application in Microsoft Entra | Action | π Github |
Devices
| Function name | Description | Type | Source code |
|---|---|---|---|
list-devices | List devices from Microsoft Graph | Action | π Github |
Directory
| Function name | Description | Type | Source code |
|---|---|---|---|
list-directory-roles | List directory roles from Microsoft Graph. Returns activated directory roles in the tenant. | Action | π Github |
Directory Roles
| Function name | Description | Type | Source code |
|---|---|---|---|
get-directory-role | Retrieve a single directory role from Microsoft. | Action | π Github |
list-directory-role-members | List all members (users and service principals) assigned to a directory role in Microsoft. | Action | π Github |
Groups
| Function name | Description | Type | Source code |
|---|---|---|---|
add-group-member | Add a member (user, group, or service principal) to a group in Microsoft. | Action | π Github |
create-group | Create a group in Microsoft | Action | π Github |
delete-group | Delete or archive a group in Microsoft | Action | π Github |
get-group | Retrieve a single group from Microsoft. | Action | π Github |
list-group-members | List all direct members of a group in Microsoft | Action | π Github |
list-groups | List groups from Microsoft | Action | π Github |
remove-group-member | Remove a member from a group in Microsoft. | Action | π Github |
Organizations
| Function name | Description | Type | Source code |
|---|---|---|---|
get-organization | Retrieve a single organization from Microsoft. | Action | π Github |
list-organizations | List organizations from Microsoft Graph. | Action | π Github |
update-organization | Update the properties of a Microsoft organization. | Action | π Github |
Service Principals
| Function name | Description | Type | Source code |
|---|---|---|---|
create-service-principal | Create a service principal in Microsoft Entra ID for an existing application. | Action | π Github |
delete-service-principal | Delete a service principal in Microsoft Entra ID | Action | π Github |
get-service-principal | Retrieve a single service principal from Microsoft. | Action | π Github |
list-service-principals | List service principals from Microsoft Graph | Action | π Github |
update-service-principal | Update a service principal in Microsoft Entra ID. | Action | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
create-user | Create a user in Microsoft Azure AD | Action | π Github |
delete-user | Delete or archive a user in Microsoft | Action | π Github |
get-user | Retrieve a single user from Microsoft | Action | π Github |
list-user-memberships | List all groups, directory roles, and administrative units that a user is a member of in Microsoft. | Action | π Github |
list-users | List users from Microsoft | Action | π Github |
update-user | Update a user in Microsoft Entra ID | Action | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
update-group | Update a group in Microsoft. | Action | π Github |
applications | Sync applications from Microsoft Graph | Sync | π Github |
directory-roles | Sync directory roles from Microsoft | Sync | π Github |
groups | Sync groups from Microsoft Graph with incremental delta tracking | Sync | π Github |
organizations | Sync organizations from Microsoft | Sync | π Github |
service-principals | Sync service principals from Microsoft Graph | Sync | π Github |
users | Sync users from Microsoft | Sync | π Github |