Skip to content

Commit a22c1f4

Browse files
authored
Merge pull request #189631 from baanders/2-24-perf
ADT: Content performance Feb (app registration CLI)
2 parents 7756e37 + 19dc1fa commit a22c1f4

File tree

6 files changed

+17
-28
lines changed

6 files changed

+17
-28
lines changed

articles/digital-twins/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
href: how-to-enable-private-link.md
7878
- name: Write app authentication code
7979
href: how-to-authenticate-client.md
80-
- name: Create an app registration
80+
- name: Create an app registration with Azure Digital Twins access
8181
items:
8282
- name: Portal
8383
href: how-to-create-app-registration-portal.md

articles/digital-twins/how-to-authenticate-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ In an Azure function, you can use the managed identity credentials like this:
8888

8989
The [InteractiveBrowserCredential](/dotnet/api/azure.identity.interactivebrowsercredential?view=azure-dotnet&preserve-view=true) method is intended for interactive applications and will bring up a web browser for authentication. You can use this method instead of `DefaultAzureCredential` in cases where you require interactive authentication.
9090

91-
To use the interactive browser credentials, you'll need an **app registration** that has permissions to the Azure Digital Twins APIs. For steps on how to set up this app registration, see [Create an app registration](./how-to-create-app-registration-portal.md). Once the app registration is set up, you'll need...
91+
To use the interactive browser credentials, you'll need an **app registration** that has permissions to the Azure Digital Twins APIs. For steps on how to set up this app registration, see [Create an app registration with Azure Digital Twins access](./how-to-create-app-registration-portal.md). Once the app registration is set up, you'll need...
9292
* [the app registration's Application (client) ID](./how-to-create-app-registration-portal.md#collect-client-id-and-tenant-id)
9393
* [the app registration's Directory (tenant) ID](./how-to-create-app-registration-portal.md#collect-client-id-and-tenant-id)
9494
* [the Azure Digital Twins instance's URL](how-to-set-up-instance-portal.md#verify-success-and-collect-important-values)

articles/digital-twins/how-to-create-app-registration-cli.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
# Mandatory fields.
3-
title: Create an app registration (CLI)
3+
title: Create an app registration with Azure Digital Twins access (CLI)
44
titleSuffix: Azure Digital Twins
5-
description: Learn how to create an Azure AD app registration, as an authentication option for client apps, using the CLI.
5+
description: Use the CLI to create an Azure AD app registration that can access Azure Digital Twins resources.
66
author: baanders
77
ms.author: baanders # Microsoft employees only
8-
ms.date: 1/24/2022
8+
ms.date: 2/24/2022
99
ms.topic: how-to
1010
ms.service: digital-twins
11+
ms.custom: contperf-fy22q3
1112

1213
# Optional fields. Don't forget to remove # if you need a field.
1314
# ms.custom: can-be-multiple-comma-separated
@@ -19,17 +20,11 @@ ms.service: digital-twins
1920

2021
[!INCLUDE [digital-twins-create-app-registration-selector.md](../../includes/digital-twins-create-app-registration-selector.md)]
2122

22-
This article describes how to create an app registration to use with Azure Digital Twins using the CLI. It includes instructions for creating a manifest file containing service information, creating the app registration, verifying success, collecting important values, and other possible steps that your organization may require.
23+
This article describes how to use the Azure CLI to create an [Azure Active Directory (Azure AD)](../active-directory/fundamentals/active-directory-whatis.md) *app registration* that can access Azure Digital Twins.
2324

24-
When working with an Azure Digital Twins instance, it's common to interact with that instance through client applications, such as a custom client app or a sample like [Azure Digital Twins Explorer](quickstart-azure-digital-twins-explorer.md). Those applications need to authenticate with Azure Digital Twins to interact with it, and some of the [authentication mechanisms](how-to-authenticate-client.md) that apps can use involve an [Azure Active Directory (Azure AD)](../active-directory/fundamentals/active-directory-whatis.md) **app registration**.
25+
When working with Azure Digital Twins, it's common to interact with your instance through client applications. Those applications need to authenticate with Azure Digital Twins, and some of the [authentication mechanisms](how-to-authenticate-client.md) that apps can use involve an app registration.
2526

26-
The app registration isn't required for all authentication scenarios. However, if you're using an authentication strategy or code sample that does require an app registration, this article shows you how to set one up using the [Azure CLI](/cli/azure/what-is-azure-cli). It also covers how to [collect important values](#collect-important-values) that you'll need to use the app registration to authenticate.
27-
28-
## Azure AD app registrations
29-
30-
[Azure Active Directory (Azure AD)](../active-directory/fundamentals/active-directory-whatis.md) is Microsoft's cloud-based identity and access management service. Setting up an **app registration** in Azure AD is one way to grant a client app access to Azure Digital Twins.
31-
32-
This app registration is where you configure access permissions to the [Azure Digital Twins APIs](concepts-apis-sdks.md). Later, client apps can authenticate against the app registration using the registration's **client and tenant ID values**, and as a result be granted the configured access permissions to the APIs.
27+
The app registration isn't required for all authentication scenarios. However, if you're using an authentication strategy or code sample that does require an app registration, this article shows you how to set one up and grant it permissions to the Azure Digital Twins APIs. It also covers how to collect important values that you'll need to use the app registration when authenticating.
3328

3429
>[!TIP]
3530
> You may prefer to set up a new app registration every time you need one, *or* to do this only once, establishing a single app registration that will be shared among all scenarios that require it.

articles/digital-twins/how-to-create-app-registration-portal.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
# Mandatory fields.
3-
title: Create an app registration (portal)
3+
title: Create an app registration with Azure Digital Twins access (portal)
44
titleSuffix: Azure Digital Twins
5-
description: Learn how to create an Azure AD app registration, as an authentication option for client apps, using the Azure portal.
5+
description: Use the Azure portal to create an Azure AD app registration that can access Azure Digital Twins resources.
66
author: baanders
77
ms.author: baanders # Microsoft employees only
8-
ms.date: 1/24/2022
8+
ms.date: 2/24/2022
99
ms.topic: how-to
1010
ms.service: digital-twins
1111

@@ -19,17 +19,11 @@ ms.service: digital-twins
1919

2020
[!INCLUDE [digital-twins-create-app-registration-selector.md](../../includes/digital-twins-create-app-registration-selector.md)]
2121

22-
This article describes how to create an app registration to use with Azure Digital Twins using the Azure portal. It includes instructions for creating the app registration, collecting important values, providing Azure Digital Twins API permission, verifying success, and other possible steps that your organization may require.
22+
This article describes how to use the Azure portal to create an [Azure Active Directory (Azure AD)](../active-directory/fundamentals/active-directory-whatis.md) *app registration* that can access Azure Digital Twins.
2323

24-
When working with an Azure Digital Twins instance, it's common to interact with that instance through client applications, such as the custom client app built in [Code a client app](tutorial-code.md). Those applications need to authenticate with Azure Digital Twins to interact with it, and some of the [authentication mechanisms](how-to-authenticate-client.md) that apps can use involve an [Azure Active Directory (Azure AD)](../active-directory/fundamentals/active-directory-whatis.md) **app registration**.
24+
When working with Azure Digital Twins, it's common to interact with your instance through client applications. Those applications need to authenticate with Azure Digital Twins, and some of the [authentication mechanisms](how-to-authenticate-client.md) that apps can use involve an app registration.
2525

26-
The app registration isn't required for all authentication scenarios. However, if you're using an authentication strategy or code sample that does require an app registration, this article shows you how to set one up using the [Azure portal](https://portal.azure.com). It also covers how to [collect important values](#collect-important-values) that you'll need to use the app registration to authenticate.
27-
28-
## Azure AD app registrations
29-
30-
[Azure Active Directory (Azure AD)](../active-directory/fundamentals/active-directory-whatis.md) is Microsoft's cloud-based identity and access management service. Setting up an **app registration** in Azure AD is one way to grant a client app access to Azure Digital Twins.
31-
32-
This app registration is where you configure access permissions to the [Azure Digital Twins APIs](concepts-apis-sdks.md). Later, client apps can authenticate against the app registration using the registration's **client and tenant ID values**, and as a result be granted the configured access permissions to the APIs.
26+
The app registration isn't required for all authentication scenarios. However, if you're using an authentication strategy or code sample that does require an app registration, this article shows you how to set one up and grant it permissions to the Azure Digital Twins APIs. It also covers how to collect important values that you'll need to use the app registration when authenticating.
3327

3428
>[!TIP]
3529
> You may prefer to set up a new app registration every time you need one, *or* to do this only once, establishing a single app registration that will be shared among all scenarios that require it.

articles/digital-twins/troubleshoot-error-403.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Next, select **API permissions** from the menu bar to verify that this app regis
8282

8383
#### Fix issues
8484

85-
If any of this appears differently than described, follow the instructions on how to set up an app registration in [Create an app registration](./how-to-create-app-registration-portal.md).
85+
If any of this appears differently than described, follow the instructions on how to set up an app registration in [Create an app registration with Azure Digital Twins access](./how-to-create-app-registration-portal.md).
8686

8787
## Next steps
8888

includes/digital-twins-prereq-registration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ ms.date: 10/29/2020
77
ms.author: baanders
88
---
99

10-
To authenticate all the resources used in this article, you'll need to **set up an [Azure Active Directory (Azure AD)](../articles/active-directory/fundamentals/active-directory-whatis.md) app registration**. Follow the instructions in [Create an app registration](../articles/digital-twins/how-to-create-app-registration-portal.md) to set this up.
10+
To authenticate all the resources used in this article, you'll need to **set up an [Azure Active Directory (Azure AD)](../articles/active-directory/fundamentals/active-directory-whatis.md) app registration**. Follow the instructions in [Create an app registration with Azure Digital Twins access](../articles/digital-twins/how-to-create-app-registration-portal.md) to set this up.
1111

1212
Once you have an app registration, you'll need the registration's **Application (client) ID**, **Directory (tenant) ID**, and **client secret** ([find in the Azure portal](../articles/digital-twins/how-to-create-app-registration-portal.md#collect-important-values)). Take note of these values to use them later to grant access to the Azure Digital Twins APIs.

0 commit comments

Comments
 (0)