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
or[download the sample in a ZIP file](https://github.com/Azure-Samples/ms-identity-aspnet-daemon-webapp/archive/master.zip).
56
+
Or[download the sample in a ZIP file](https://github.com/Azure-Samples/ms-identity-aspnet-daemon-webapp/archive/master.zip).
57
57
58
-
## Register the sample application with your Azure Active Directory tenant
58
+
## Register the sample application with your Azure AD tenant
59
59
60
60
There is one project in this sample. To register it, you can:
61
61
62
-
-either follow the steps [Register the sample with your Azure Active Directory tenant](#register-the-sample-application-with-your-azure-active-directory-tenant) and [Configure the sample to use your Azure AD tenant](#choose-the-azure-ad-tenant-where-you-want-to-create-your-applications)
63
-
-or use PowerShell scripts that:
64
-
-**automatically** creates the Azure AD applications and related objects (passwords, permissions, dependencies) for you
65
-
-modify the Visual Studio projects' configuration files.
62
+
-Either follow the steps [Register the sample with your Azure Active Directory tenant](#register-the-sample-application-with-your-azure-active-directory-tenant) and [Configure the sample to use your Azure AD tenant](#choose-the-azure-ad-tenant-where-you-want-to-create-your-applications)
63
+
-Or use PowerShell scripts that:
64
+
-**Automatically** creates the Azure AD applications and related objects (passwords, permissions, dependencies) for you
65
+
-Modify the Visual Studio projects' configuration files.
66
66
67
67
If you want to use this automation:
68
68
@@ -86,7 +86,7 @@ If you want to use this automation:
86
86
87
87
If you don't want to use this automation, follow the steps below.
88
88
89
-
### Choose the Azure AD tenant where you want to create your applications
89
+
### Choose the Azure AD tenant for the applications
90
90
91
91
As a first step you'll need to:
92
92
@@ -101,10 +101,10 @@ As a first step you'll need to:
101
101
1. When the **Register an application page** appears, enter your application's registration information:
102
102
- In the **Name** section, enter a meaningful application name that will be displayed to users of the app, for example `dotnet-web-daemon-v2`.
103
103
- In the **Supported account types** section, select **Accounts in any organizational directory**.
104
-
- In the Redirect URI (optional) section, select **Web** in the combo-box and enter the following redirect URIs.
104
+
- In the Redirect URI (optional) section, select **Web** in the combo-box and enter the following redirect URIs:
> Note that if there are more than one redirect URIs, you'd need to add them from the **Authentication** tab later after the app has been created successfully.
107
+
If there are more than one redirect URIs, you'd need to add them from the **Authentication** tab later after the app has been created successfully.
108
108
1. Select **Register** to create the application.
109
109
1. On the app **Overview** page, find the **Application (client) ID** value and record it for later. You'll need it to configure the Visual Studio configuration file for this project.
110
110
1. In the list of pages for the app, select **Authentication**.
@@ -133,7 +133,7 @@ Open the solution in Visual Studio to configure the projects
133
133
134
134
### Configure the client project
135
135
136
-
> Note: if you used the setup scripts, the changes below will have been applied for you
136
+
If you used the setup scripts, the following changes will have been applied for you.
137
137
138
138
1. Open the `UserSync\Web.Config` file
139
139
1. Find the app key `ida:ClientId` and replace the existing value with the application ID (clientId) of the `dotnet-web-daemon-v2` application copied from the Azure portal.
@@ -203,7 +203,7 @@ This project has WebApp / Web API projects. To deploy them to Azure Web Sites, y
203
203
1. On the Settings tab, make sure `Enable Organizational Authentication` is NOT selected. Click **Save**. Click on **Publish** on the main screen.
204
204
1. Visual Studio will publish the project and automatically open a browser to the URL of the project. If you see the default web page of the project, the publication was successful.
205
205
206
-
### Update the Active Directory tenant application registration for `dotnet-web-daemon-v2`
206
+
### Update the Azure AD tenant application registration for `dotnet-web-daemon-v2`
207
207
208
208
1. Navigate back to the [Azure portal](https://portal.azure.com).
209
209
In the left-hand navigation pane, select the **Azure Active Directory** service, and then select **App registrations**.
@@ -212,7 +212,7 @@ In the left-hand navigation pane, select the **Azure Active Directory** service,
212
212
1. From the *Branding* menu, update the **Home page URL**, to the address of your service, for example [https://dotnet-web-daemon-v2-contoso.azurewebsites.net](https://dotnet-web-daemon-v2-contoso.azurewebsites.net). Save the configuration.
213
213
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 a new entry using the App service's Uri for each redirect url.
214
214
215
-
## Community Help and Support
215
+
## Community help and support
216
216
217
217
Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get support from the community.
218
218
Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
0 commit comments