Skip to content

Commit 03e628d

Browse files
authored
Merge pull request #98549 from rwike77/tutorial
updates
2 parents e00ec70 + 0895adb commit 03e628d

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

articles/active-directory/develop/tutorial-v2-aspnet-daemon-web-app.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,25 @@ ms.devlang: na
1414
ms.topic: tutorial
1515
ms.tgt_pltfrm: na
1616
ms.workload: identity
17-
ms.date: 11/20/2019
17+
ms.date: 12/10/2019
1818
ms.author: jmprieur
1919
ms.custom: aaddev, identityplatformtop40, scenarios:getting-started, languages:ASP.NET
2020
#Customer intent: As an application developer, I want to know how to set up OpenId Connect authentication in a web application built using Node.js with Express.
2121
ms.collection: M365-identity-device-management
2222
---
2323

24-
# Build a multitenant daemon that uses the Microsoft identity platform endpoint
24+
# Tutorial: Build a multitenant daemon that uses the Microsoft identity platform endpoint
2525

2626
In this tutorial, you learn how to use the Microsoft identity platform to access the data of Microsoft business customers in a long-running, non-interactive process. The sample daemon uses the [OAuth2 client credentials grant](v2-oauth2-client-creds-grant-flow.md) to acquire an access token. The daemon then uses the token to call [Microsoft Graph](https://graph.microsoft.io) and access organizational data.
2727

28+
> [!div class="checklist"]
29+
> * Integrate a daemon app with the Microsoft identity platform
30+
> * Grant application permissions directly to the app by an admin
31+
> * Get an access token to call the Microsoft Graph API
32+
> * Call the Microsoft Graph API.
33+
34+
If you don’t have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
35+
2836
The app is built as an ASP.NET MVC application. It uses the OWIN OpenID Connect middleware to sign in users.
2937

3038
The "daemon" component in this sample is an API controller, `SyncController.cs`. When the controller is called, it pulls in a list of users in the customer's Azure Active Directory (Azure AD) tenant from Microsoft Graph. `SyncController.cs` is triggered by an AJAX call in the web application. It uses the [Microsoft Authentication Library (MSAL) for .NET](msal-overview.md) to acquire an access token for Microsoft Graph.
@@ -57,11 +65,11 @@ git clone https://github.com/Azure-Samples/active-directory-dotnet-daemon-v2.git
5765

5866
Or [download the sample in a zip file](https://github.com/Azure-Samples/ms-identity-aspnet-daemon-webapp/archive/master.zip).
5967

60-
## Register the sample application with your Azure AD tenant
68+
## Register your application
6169

62-
This sample has one project. To register it, you can either:
70+
This sample has one project. To register the application with your Azure AD tenant, you can either:
6371

64-
- Follow the steps in [Register the sample with your Azure Active Directory tenant](#register-the-sample-application-with-your-azure-ad-tenant) and [Configure the sample to use your Azure AD tenant](#choose-the-azure-ad-tenant).
72+
- Follow the steps in [Register the sample with your Azure Active Directory tenant](#register-your-application) and [Configure the sample to use your Azure AD tenant](#choose-the-azure-ad-tenant).
6573
- Use PowerShell scripts that:
6674
- *Automatically* create the Azure AD applications and related objects (passwords, permissions, dependencies) for you.
6775
- Modify the Visual Studio projects' configuration files.
@@ -234,7 +242,10 @@ Visual Studio will publish the project and automatically open a browser to the p
234242
1. Save the configuration.
235243
1. Add the same URL in the list of values of the **Authentication** > **Redirect URIs** menu. If you have multiple redirect URLs, make sure that there's a new entry that uses the app service's URI for each redirect URL.
236244

237-
## Community help and support
245+
## Clean up resources
246+
When no longer needed, delete the app object that you created in the [Register your application](#register-your-application) step. To remove the application, follow the instructions in [Remove an application authored by you or your organization](quickstart-remove-app.md#remove-an-application-authored-by-you-or-your-organization).
247+
248+
## Get help
238249

239250
Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get support from the community.
240251
Ask your questions on Stack Overflow first, and browse existing issues to see if someone has asked your question before.

0 commit comments

Comments
 (0)