Skip to content

Commit 2cbdee3

Browse files
authored
Merge pull request #95578 from KingdomOfEnds/adt-refresh
updated aad registration
2 parents c47ce92 + bd6ceba commit 2cbdee3

11 files changed

+13
-8
lines changed

includes/digital-twins-permissions.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,28 @@
77
manager: bertvanhoof
88
ms.service: digital-twins
99
ms.topic: include
10-
ms.date: 09/30/2019
10+
ms.date: 11/11/2019
1111
ms.custom: include file
1212
---
1313

1414
>[!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).
1616
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.
1818

19-
[![App registered](./media/digital-twins-permissions/aad-app-register.png)](./media/digital-twins-permissions/aad-app-register.png#lightbox)
19+
[![Select the Azure Active Directory pane](./media/digital-twins-permissions/select-aad-pane.png)](./media/digital-twins-permissions/select-aad-pane.png#lightbox)
20+
21+
1. Select the **+ New registration** button.
22+
23+
[![Select the New registration button](./media/digital-twins-permissions/aad-app-register.png)](./media/digital-twins-permissions/aad-app-register.png#lightbox)
2024

2125
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**.
2226

2327
[![Create pane](./media/digital-twins-permissions/aad-app-reg-create.png)](./media/digital-twins-permissions/aad-app-reg-create.png#lightbox)
2428

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**.
2630

27-
[![Default native](./media/digital-twins-permissions/aad-app-default-native.png)](./media/digital-twins-permissions/aad-app-default-native.png#lightbox)
31+
[![Public client configuration setting](./media/digital-twins-permissions/aad-public-client.png)](./media/digital-twins-permissions/aad-public-client.png#lightbox)
2832

2933
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.
3034

@@ -33,7 +37,7 @@
3337

3438
[![Azure Active Directory application ID](./media/digital-twins-permissions/aad-app-reg-app-id.png)](./media/digital-twins-permissions/aad-app-reg-app-id.png#lightbox)
3539

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:
3741

3842
1. `Azure Digital Twins`. Select the **Azure Digital Twins** API.
3943

@@ -52,7 +56,8 @@
5256

5357
[![Add API permissions](./media/digital-twins-permissions/aad-app-req-permissions.png)](./media/digital-twins-permissions/aad-app-req-permissions.png#lightbox)
5458

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.
5660

5761
[![Add API permissions](./media/digital-twins-permissions/aad-app-admin-consent.png)](./media/digital-twins-permissions/aad-app-admin-consent.png#lightbox)
5862

63+
Verify that **Azure Digital Twins** appears.
36.8 KB
Loading
46.5 KB
Loading
Binary file not shown.
135 KB
Loading
51.7 KB
Loading
23.9 KB
Loading
45.3 KB
Loading
19.1 KB
Loading
223 KB
Loading

0 commit comments

Comments
 (0)