|
7 | 7 | manager: bertvanhoof
|
8 | 8 | ms.service: digital-twins
|
9 | 9 | ms.topic: include
|
10 |
| - ms.date: 09/30/2019 |
| 10 | + ms.date: 11/11/2019 |
11 | 11 | ms.custom: include file
|
12 | 12 | ---
|
13 | 13 |
|
14 | 14 | >[!NOTE]
|
15 |
| ->This section provides instructions for the [new Azure AD app registration](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app). If you still have legacy native app registration, you may use it as long as it's supported. |
| 15 | +>This section provides instructions for [Azure AD app registration](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app). |
16 | 16 |
|
17 |
| -1. In the [Azure portal](https://portal.azure.com), open **Azure Active Directory** from the expandable left menu, and then open the **App registrations** pane. Select the **New registration** button. |
| 17 | +1. In the [Azure portal](https://portal.azure.com), open **Azure Active Directory** from the expandable left menu, and then open the **App registrations** pane. |
18 | 18 |
|
19 |
| - [](./media/digital-twins-permissions/aad-app-register.png#lightbox) |
| 19 | + [](./media/digital-twins-permissions/select-aad-pane.png#lightbox) |
| 20 | + |
| 21 | +1. Select the **+ New registration** button. |
| 22 | + |
| 23 | + [](./media/digital-twins-permissions/aad-app-register.png#lightbox) |
20 | 24 |
|
21 | 25 | 1. Give a friendly name for this app registration in the **Name** box. Under the **Redirect URI (optional)** section, choose **Public client/native (mobile & desktop)** in the drop-down menu on the left, and enter `https://microsoft.com` in the textbox on the right. Select **Register**.
|
22 | 26 |
|
23 | 27 | [](./media/digital-twins-permissions/aad-app-reg-create.png#lightbox)
|
24 | 28 |
|
25 |
| -1. To make sure that [the app is registered as a *native app*](https://docs.microsoft.com/azure/active-directory/develop/scenario-desktop-app-registration), open the **Authentication** pane for your app registration, and scroll down in that pane. In the **Default client type** section, choose **Yes** for **Treat application as a public client**, and hit **Save**. |
| 29 | +1. To make sure that [the app is registered as a **public client**](https://docs.microsoft.com/azure/active-directory/develop/scenario-desktop-app-registration), open the **Authentication** pane for your app registration, and scroll down in that pane. In the **Default client type** section, choose **Yes** for **Treat application as a public client**, and hit **Save**. |
26 | 30 |
|
27 |
| - [](./media/digital-twins-permissions/aad-app-default-native.png#lightbox) |
| 31 | + [](./media/digital-twins-permissions/aad-public-client.png#lightbox) |
28 | 32 |
|
29 | 33 | 1. Open the **Overview** pane of your registered app, and copy the values of the following entities to a temporary file. You'll use these values to configure your sample application in the following sections.
|
30 | 34 |
|
|
33 | 37 |
|
34 | 38 | [](./media/digital-twins-permissions/aad-app-reg-app-id.png#lightbox)
|
35 | 39 |
|
36 |
| -1. Open the **API permissions** pane for your app registration. Select **Add a permission** button. In the **Request API permissions** pane, select the **APIs my organization uses** tab, and then search for one of the following: |
| 40 | +1. Open the **API permissions** pane for your app registration. Select **+ Add a permission** button. In the **Request API permissions** pane, select the **APIs my organization uses** tab, and then search for one of the following: |
37 | 41 |
|
38 | 42 | 1. `Azure Digital Twins`. Select the **Azure Digital Twins** API.
|
39 | 43 |
|
|
52 | 56 |
|
53 | 57 | [](./media/digital-twins-permissions/aad-app-req-permissions.png#lightbox)
|
54 | 58 |
|
55 |
| -1. Depending on your organization's settings, you might need to take additional steps to grant admin access to this API. Contact your administrator for more information. Once the admin access is approved, the **Admin Consent Required** column in the **API permissions** pane will look similar to the following for your APIs: |
| 59 | +1. Depending on your organization's settings, you might need to take additional steps to grant admin access to this API. Contact your administrator for more information. Once the admin access is approved, the **Admin Consent Required** column in the **API permissions** pane will display your permissions. |
56 | 60 |
|
57 | 61 | [](./media/digital-twins-permissions/aad-app-admin-consent.png#lightbox)
|
58 | 62 |
|
| 63 | + Verify that **Azure Digital Twins** appears. |
0 commit comments