Skip to content

Commit 1e8a7c9

Browse files
committed
corrected step
1 parent b4c7a91 commit 1e8a7c9

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

articles/digital-twins/how-to-use-swagger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ The examples also include error codes to help debug or improve failing tests.
8888
## Swagger OAuth 2.0 authorization
8989

9090
> [!NOTE]
91-
> * The user principal that created the Azure Digital Twins resource will have a Space Administrator role assignment and will be able to create additional role assignments for other users. Such users and their roles can be authorized to call the APIs.
91+
> * The user principal that created the Azure Digital Twins resource will have a Space Administrator role assignment and will be able to create additional role assignments for other users. Those users and their roles can be authorized to call the APIs.
9292
9393
1. Follow the steps in [the Quickstart](quickstart-view-occupancy-dotnet.md#set-permissions-for-your-app) to create and configure an Azure Active Directory application. Alternatively, you can reuse an existing app registration.
9494

includes/digital-twins-permissions.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@
2222

2323
[![Select the New registration button](./media/digital-twins-permissions/aad-app-register.png)](./media/digital-twins-permissions/aad-app-register.png#lightbox)
2424

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**.
25+
1. Give a friendly name for this app registration in the **Name** box.
26+
27+
1. Under **Redirect URI (optional)** section, enter `https://microsoft.com` in the textbox.
28+
29+
1. Verify which accounts and tenants are supported.
30+
31+
1. Select **Register**.
2632

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

2935
1. The **Authentication** blade specifies important authentication configuration settings.
3036

3137
1. Add **Redirect URIs** and configure **Access Tokens** by selecting **+ Add a platform**.
3238

33-
1. Determine whether the app is a **public client** or not by selecting **Yes** or **No**.
39+
1. Select **Yes** to specify that the app is a **public client**.
3440

3541
1. Verify which accounts and tenants are supported.
3642

0 commit comments

Comments
 (0)