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: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,8 @@ This sample supports app-only authentication and uses:
45
45
46
46
- The [client grant flow](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow) to obtain an access token.
47
47
48
+
[User-delegated authentication](https://docs.microsoft.com/graph/auth-v2-user) represents a user and the application being used when calling the Microsoft Graph. This type of authentication is best suited for scenarios when the user interacts with the application. [Application only authentication](https://docs.microsoft.com/graph/auth-v2-service) represents only the application itself when calling the Microsoft Graph, without any notion of user. This type of authentication is best suited for background services, daemons or other kind of applications users are not directly interacting with.
49
+
48
50
>See the list of [permissions and authentication types](https://docs.microsoft.com/graph/api/subscription-post-subscriptions?view=graph-rest-1.0) permitted for each supported resource in Microsoft Graph.
49
51
50
52
The following are common tasks that an application performs with webhooks subscriptions:
@@ -107,7 +109,7 @@ To use the Microsoft Graph Webhook Sample for ASP.NET Core, you need the followi
107
109

108
110
1. Select **Register** to create the app.
109
111
1. On the app's **Overview** page, find the **Application (client) ID** value and record it for later. You'll need this value to configure the Visual Studio configuration file for this project.
110
-
1. In the list of pages for the app, select **Authentication**. (this step is only required if you are using a user-delegated authentication context):
112
+
1. In the list of pages for the app, select **Authentication**. (this step is only required if you are using a user-delegated authentication):
111
113
1. In the **Redirect URIs** section, select **Web** in the combo-box and enter the following redirect URIs:
@@ -129,7 +131,7 @@ To use the Microsoft Graph Webhook Sample for ASP.NET Core, you need the followi
129
131
1. In the **Application permissions** section, make sure that the **Mail.Read** permission is checked. Use the search box if necessary.
130
132
> Also, in the **Delegated permissions** section, check the User.Read delegated permission for Azure Active Directory, so users can sign into the app to initiate the subscription process.
131
133
> *Note: for other resources you need to select different permissions as documented [here](https://docs.microsoft.com/graph/api/subscription-post-subscriptions?view=graph-rest-beta&tabs=http#permissions)*
132
-
> *Note: depending on which authentication context you chose (app-only or user delegated) you need to select the corresponding permission **from the correct permission type**.*
134
+
> *Note: depending on which authentication type you chose (app-only or user delegated) you need to select the corresponding permission **from the correct permission type**.*
133
135
1. Select the **Add permissions** button.
134
136
1. Select **Grant admin consent for `name of your organization>`** and **Yes**. This grants consent to the permissions of the application registration you just created to the current organization.
135
137
@@ -223,7 +225,7 @@ Keep the console open while testing. If you close it, the tunnel also closes and
223
225
224
226
#### Sign-in and grant permissions
225
227
226
-
> Note: you need to go through the following steps only if you are trying to create a subscription with **user-delegated** context.
228
+
> Note: you need to go through the following steps only if you are trying to create a subscription with **user-delegated** application.
227
229
228
230
1. Choose **Sign in** in the upper-right corner and sign in with a work or school account.
0 commit comments