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
{{ message }}
This repository was archived by the owner on Jan 23, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17-27Lines changed: 17 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -36,36 +36,26 @@ There are two projects in this sample. Each needs to be separately registered i
36
36
37
37
#### Register the TodoListService web API
38
38
39
-
1. Sign in to the [Azure management portal](https://manage.windowsazure.com).
40
-
2. Click on Active Directory in the left hand nav.
41
-
3. Click the directory tenant where you wish to register the sample application.
42
-
4. Click the Applications tab.
43
-
5. In the drawer, click Add.
44
-
6. Click "Add an application my organization is developing".
45
-
7. Enter a friendly name for the application, for example "TodoListService", select "Web Application and/or Web API", and click next.
46
-
8. For the sign-on URL, enter the base URL for the sample, which is by default `https://localhost:44351`.
47
-
9. For the App ID URI, enter `https://<your_tenant_name>/TodoListService`, replacing `<your_tenant_name>` with the name of your Azure AD tenant. Click OK to complete the registration.
48
-
10. While still in the Azure portal, click the Configure tab of your application.
49
-
11. Find the Client ID value and copy it aside, you will need this later when configuring your application.
39
+
1. Sign in to the [Azure portal](https://portal.azure.com).
40
+
2. On the top bar, click on your account and under the **Directory** list, choose the Active Directory tenant where you wish to register your application.
41
+
2. Click on **More Services** in the left hand nav, and choose **Azure Active Directory**.
42
+
3. Click on **Registered Applications** and choose **Add**.
43
+
4. Enter a friendly name for the application, for example 'TodoListService' and select 'Web Application and/or Web API' as the Application Type. For the sign-on URL, enter the base URL for the sample, which is by default `https://localhost:44351`. Click on **Create** to create the application.
44
+
5. While still in the Azure portal, choose your application, click on **Settings** and choose **Properties**.
45
+
6. Find the Application ID value and copy it to the clipboard.
50
46
51
47
#### Register the TodoListWebApp web application
52
48
53
-
1. Sign in to the [Azure management portal](https://manage.windowsazure.com).
54
-
2. Click on Active Directory in the left hand nav.
55
-
3. Click the directory tenant where you wish to register the sample application.
56
-
4. Click the Applications tab.
57
-
5. In the drawer, click Add.
58
-
6. Click "Add an application my organization is developing".
59
-
7. Enter a friendly name for the application, for example "TodoListWebApp", select "Web Application and/or Web API", and click next.
60
-
8. For the sign-on URL, enter the base URL for the sample, which is by default `https://localhost:44371/signin-oidc`.
61
-
9. For the App ID URI, enter `https://<your_tenant_name>/TodoListWebApp`, replacing `<your_tenant_name>` with the name of your Azure AD tenant. Click OK to complete the registration.
62
-
1. While still in the Azure portal, click the **Configure** tab of your application.
63
-
2. Locate the **Manage Manifest** button in the bottom drawer. Click it and download your application's manifest as a `.json` file.
64
-
3. Open the `.json` file in a text editor and change the `logoutUrl` property to `https://localhost:44371/Account/EndSession`. This is the default single sign out URL for this sample.
65
-
4. Back in the Azure portal, click **Manage Manifest** then **Upload Manifest**, and upload your updated `.json` file.
66
-
5. Finally, locate the **Client ID** value in the **Configure** tab and copy it to your clipboard. You will need it shortly.
67
-
12. Create a new key for the application. Save the configuration so you can view the key value. Save this aside for when you configure the project in Visual Studio.
68
-
13. In "Permissions to Other Applications", click "Add Application." Select "Other" in the "Show" dropdown, and click the upper check mark. Locate & click on the TodoListService, and click the bottom check mark to add the application. Select "Access TodoListService" from the "Delegated Permissions" dropdown, and save the configuration.
49
+
1. Sign in to the [Azure portal](https://portal.azure.com).
50
+
2. On the top bar, click on your account and under the **Directory** list, choose the Active Directory tenant where you wish to register your application.
51
+
2. Click on **More Services** in the left hand nav, and choose **Azure Active Directory**.
52
+
3. Click on **Registered Applications** and choose **Add**.
53
+
4. Enter a friendly name for the application, for example 'TodoListWebApp' and select 'Web Application and/or Web API' as the Application Type. For the sign-on URL, enter the base URL for the sample, which is by default `https://localhost:44371/signin-oidc`.
54
+
5. While still in the Azure portal, choose your application, click on **Settings** and choose **Properties**.
55
+
6. Find the Application ID value and copy it to the clipboard.
56
+
7. On the same page, change the `Logout Url` property to `https://localhost:44371/Account/EndSession`. This is the default single sign out URL for this sample.
57
+
7. From the Settings menu, choose **Keys** and add a key - select a key duration of either 1 year or 2 years. When you save this page, the key value will be displayed, copy and save the value in a safe location - you will need this key later to configure the project in Visual Studio - this key value will not be displayed again, nor retrievable by any other means, so please record it as soon as it is visible from the Azure Portal.
58
+
8. Configure Permissions for your application - in the Settings menu, choose the 'Required permissions' section, click on **Add**, then **Select an API**, and type 'TodoListService' in the textbox. Then, click on **Select Permissions** and select 'Access TodoListService'.
69
59
70
60
### Step 4: Configure the sample to use your Azure AD tenant
0 commit comments