You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/builtin/credentials/microsoftentra.md
+25-6
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,15 @@ You can use these credentials to authenticate the following nodes:
17
17
- Create a Microsoft Entra ID account or subscription.
18
18
- If the user account is managed by a corporate Microsoft Entra account, the administrator account has enabled the option “User can consent to apps accessing company data on their behalf” for this user (see the [Microsoft Entra documentation](https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/grant-admin-consent)).
19
19
20
-
Microsoft includes an Entra ID free plan when you create a [Microsoft Azure](https://azure.microsoft.com/){:target=_blank .external-link} account.
20
+
Microsoft includes an Entra ID free plan when you create a [Microsoft Azure](https://azure.microsoft.com/) account.
21
21
22
22
## Supported authentication methods
23
23
24
24
- OAuth2
25
25
26
26
## Related resources
27
27
28
-
Refer to [Microsoft Entra ID's documentation](https://www.microsoft.com/en-us/security/business/identity-access/azure-active-directory){:target=_blank .external-link} for more information about the service.
28
+
Refer to [Microsoft Entra ID's documentation](https://www.microsoft.com/en-us/security/business/identity-access/azure-active-directory) for more information about the service.
29
29
30
30
## Using OAuth2
31
31
@@ -36,13 +36,13 @@ For self-hosted users, there are two main steps to configure OAuth2 from scratch
36
36
1.[Register an application](#register-an-application) with the Microsoft Identity Platform.
37
37
2.[Generate a client secret](#generate-a-client-secret) for that application.
38
38
39
-
Follow the detailed instructions for each step below. For more detail on the Microsoft OAuth2 web flow, refer to [Microsoft authentication and authorization basics](https://learn.microsoft.com/en-us/graph/auth/auth-concepts){:target=_blank .external-link}.
39
+
Follow the detailed instructions for each step below. For more detail on the Microsoft OAuth2 web flow, refer to [Microsoft authentication and authorization basics](https://learn.microsoft.com/en-us/graph/auth/auth-concepts).
40
40
41
41
### Register an application
42
42
43
43
Register an application with the Microsoft Identity Platform:
44
44
45
-
1. Open the [Microsoft Application Registration Portal](https://aka.ms/appregistrations){:target=_blank .external-link}.
45
+
1. Open the [Microsoft Application Registration Portal](https://aka.ms/appregistrations).
46
46
2. Select **Register an application**.
47
47
3. Enter a **Name** for your app.
48
48
4. In **Supported account types**, select **Accounts in any organizational directory (Any Azure AD directory - Multi-tenant) and personal Microsoft accounts (for example, Skype, Xbox)**.
@@ -53,7 +53,7 @@ Register an application with the Microsoft Identity Platform:
53
53
6. Select **Register** to finish creating your application.
54
54
7. Copy the **Application (client) ID** and paste it into n8n as the **Client ID**.
55
55
56
-
Refer to [Register an application with the Microsoft Identity Platform](https://learn.microsoft.com/en-us/graph/auth-register-app-v2){:target=_blank .external-link} for more information.
56
+
Refer to [Register an application with the Microsoft Identity Platform](https://learn.microsoft.com/en-us/graph/auth-register-app-v2) for more information.
57
57
58
58
### Generate a client secret
59
59
@@ -68,7 +68,26 @@ With your application created, generate a client secret for it:
68
68
1. Select **Connect my account** in n8n to finish setting up the connection.
69
69
1. Log in to your Microsoft account and allow the app to access your info.
70
70
71
-
Refer to Microsoft's [Add credentials](https://learn.microsoft.com/en-us/graph/auth-register-app-v2#add-credentials){:target=_blank .external-link} for more information on adding a client secret.
71
+
Refer to Microsoft's [Add credentials](https://learn.microsoft.com/en-us/graph/auth-register-app-v2#add-credentials) for more information on adding a client secret.
72
+
73
+
## Setting custom scopes
74
+
75
+
Microsoft Entra ID credentials use the following scopes by default:
To select different scopes for your credentials, enable the **Custom Scopes** slider and edit the **Enabled Scopes** list. Keep in mind that some features may not work as expected with more restrictive scopes.
0 commit comments