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
Copy file name to clipboardExpand all lines: articles/digital-twins/how-to-configure-postman.md
+26-7Lines changed: 26 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ manager: alinast
6
6
ms.service: digital-twins
7
7
services: digital-twins
8
8
ms.topic: conceptual
9
-
ms.date: 08/21/2019
9
+
ms.date: 09/30/2019
10
10
ms.author: v-adgera
11
11
---
12
12
@@ -30,11 +30,29 @@ Through the Postman client, solutions developers can specify the kind of HTTP re
30
30
31
31
Configure your Azure Active Directory app to use the OAuth 2.0 implicit grant flow.
32
32
33
-
1. Follow the steps in [our quickstart](./quickstart-view-occupancy-dotnet.md) to create an Azure AD application. Or, create a [native app using the legacy AAD blade](./how-to-use-legacy-aad.md).
33
+
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:
34
+
35
+
1.`Azure Digital Twins`. Select the **Azure Digital Twins** API.
34
36
35
-
1. Under **API permissions**, select **Add a permission**. Then, **Azure Digital Twins** under **APIs my organization uses**. If your search doesn't locate the API, search for **Azure Smart Spaces** instead. Then, select **Delegated Permissions**, **Read** > **Read.Write**, and **Add permission**.
37
+
[](../../includes/media/digital-twins-permissions/aad-aap-search-api-dt.png#lightbox)
38
+
39
+
1. Alternatively, search for `Azure Smart Spaces Service`. Select the **Azure Smart Spaces Service** API.
40
+
41
+
[](../../includes/media/digital-twins-permissions/aad-app-search-api.png#lightbox)
42
+
43
+
> [!IMPORTANT]
44
+
> The Azure AD API name and ID that will appear depends on your tenant:
45
+
> * Test tenant and customer accounts should search for `Azure Digital Twins`.
46
+
> * Other Microsoft accounts should search for `Azure Smart Spaces Service`.
47
+
48
+
1. The selected API shows up as **Azure Digital Twins** in the same **Request API permissions** pane. Select the **Read (1)** drop down, and then select **Read.Write** checkbox. Select the **Add permissions** button.
49
+
50
+
[](../../includes/media/digital-twins-permissions/aad-app-req-permissions.png#lightbox)
51
+
52
+
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 show similar to the following for your APIs:
53
+
54
+
[](../../includes/media/digital-twins-permissions/aad-app-admin-consent.png#lightbox)
36
55
37
-
[](../../includes/media/digital-twins-permissions/aad-app-req-permissions.png#lightbox)
38
56
39
57
1. Select **Manifest** to open the application manifest for your app. Set *oauth2AllowImplicitFlow* to `true`.
40
58
@@ -46,6 +64,9 @@ Configure your Azure Active Directory app to use the OAuth 2.0 implicit grant fl
46
64
47
65
1. Copy and keep the **Application ID** of your Azure Active Directory app. It's used in the steps that follow.
48
66
67
+
[](../../includes/media//digital-twins-permissions/aad-app-reg-app-id.png#lightbox)
Copy file name to clipboardExpand all lines: includes/digital-twins-permissions.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
author: dsk-2015
6
6
ms.service: digital-twins
7
7
ms.topic: include
8
-
ms.date: 09/24/2019
8
+
ms.date: 09/30/2019
9
9
ms.author: dkshir
10
10
ms.custom: include file
11
11
---
@@ -34,16 +34,18 @@
34
34
35
35
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:
36
36
37
-
1.**Azure Digital Twins**. Select the **Azure Digital Twins** API.
37
+
1.`Azure Digital Twins`. Select the **Azure Digital Twins** API.
38
38
39
39
[](./media/digital-twins-permissions/aad-aap-search-api-dt.png#lightbox)
40
40
41
-
1. Alternatively, search for **Azure Smart Spaces**. Select the **Azure Smart Spaces Service** API.
41
+
1. Alternatively, search for `Azure Smart Spaces Service`. Select the **Azure Smart Spaces Service** API.
42
42
43
43
[](./media/digital-twins-permissions/aad-app-search-api.png#lightbox)
44
44
45
-
> [!NOTE]
46
-
> The exact name that will appear when searched may vary depending on which Azure tenant you belong to.
45
+
> [!IMPORTANT]
46
+
> The Azure AD API name and ID that will appear depends on your tenant:
47
+
> * Test tenant and customer accounts should search for `Azure Digital Twins`.
48
+
> * Other Microsoft accounts should search for `Azure Smart Spaces Service`.
47
49
48
50
1. The selected API shows up as **Azure Digital Twins** in the same **Request API permissions** pane. Select the **Read (1)** drop down, and then select **Read.Write** checkbox. Select the **Add permissions** button.
0 commit comments