Microsoft#
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 for n8n Cloud users
You'll only need to enter the Credentials Name and click on the circle button in the OAuth section to connect your Microsoft account to n8n.
- Access the Microsoft Application Registration Portal.
- 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 - Multitenant) and personal Microsoft accounts (eg. 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.
- 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.