mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
3.1 KiB
3.1 KiB
| title | description | contentType |
|---|---|---|
| Microsoft credentials | Documentation for Microsoft credentials. Use these credentials to authenticate Microsoft in n8n, a workflow automation platform. | integration |
Microsoft credentials
You can use these credentials to authenticate the following nodes with Microsoft.
- Microsoft Dynamics CRM
- Microsoft Excel
- Microsoft Graph Security
- Microsoft OneDrive
- Microsoft Outlook
- Microsoft Teams
- Microsoft To Do
Prerequisites
Create a Microsoft Azure account.
Using OAuth
/// note | Note for n8n Cloud users You'll only need to click on the Connect my account button to connect your Microsoft account with n8n. ///
- Access the Microsoft Application Registration Portal{:target=_blank .external-link}.
- Click on the Register an application button.
- Enter a name for your app in the Name field.
- Select Accounts in any organizational directory (Any Azure AD directory - Multi-tenant) and personal Microsoft accounts (for example, Skype, Xbox) under the Supported account types section.
- Copy the 'OAuth Callback URL' provided in the Microsoft node credentials in n8n.
- Paste it in the Redirect URI (optional) field on the Register an application page. In the same section, select Select a platform > Web.
- Click on the Register button.
- Copy the Application (client) ID.
- Enter the name for your credentials in the Credentials Name field in the Microsoft node credentials in n8n.
- Paste the Application ID in the Client ID field in the Microsoft node credentials in n8n.
- On your Microsoft application page, click on Certificates & secrets in the left sidebar.
- Click on the + New client secret button under the Client secrets section.
- Enter a description in the Description field.
- Click on the Add button.
- Copy the displayed secret under the Value column.
- Paste the secret in the Client Secret field in the Microsoft node credentials in n8n.
- Click on the circle button in the OAuth section to connect a Microsoft account to n8n.
- Login to your Microsoft account and allow the app to access your info.
- Click on the Save button in the Microsoft node credentials in n8n to save your credentials.
The following video demonstrates the steps mentioned above.