Skip to content

Commit ae90086

Browse files
committed
Updated Entra articles
1 parent 0b6985f commit ae90086

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

includes/iot-hub-howto-connect-service-iothub-entra-dotnet.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,22 @@ ms.custom: mqtt, devx-track-csharp, devx-track-dotnet
1414

1515
Use [DefaultAzureCredential](/dotnet/api/azure.identity.defaultazurecredential) to use Microsoft Entra to authenticate a connection to IoT Hub. `DefaultAzureCredential` supports different authentication mechanisms and determines the appropriate credential type based of the environment it's executing in. It attempts to use multiple credential types in an order until it finds a working credential. For more information on setting up Entra for IoT Hub, see [Control access to IoT Hub by using Microsoft Entra ID](/azure/iot-hub/authenticate-authorize-azure-ad).
1616

17-
To create required Microsoft Entra app parameters for `DefaultAzureCredential`, create a Microsoft Entra app registration that contains your preferred authentication mechanism such as:
17+
To create required Microsoft Entra app parameters for `DefaultAzureCredential`, create a Microsoft Entra app registration that contains your preferred authentication mechanism:
1818

19-
* Client secret, client ID, and tenant ID
19+
* Client secret
2020
* Certificate
21+
* Federated identity credential
2122

2223
For more information, see [Quickstart: Register an application with the Microsoft identity platform](/entra/identity-platform/quickstart-register-app).
2324

24-
Microsoft Entra apps may require permissions depending on operations performed. For example, [IoT Hub Twin Contributor](/azure/role-based-access-control/built-in-roles/internet-of-things#iot-hub-twin-contributor) is required to enable read and write access to a IoT Hub device and module twins. For more information, see [Azure built-in roles](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#internet-of-things).
25+
Microsoft Entra apps may require permissions depending on operations performed. For example, [IoT Hub Twin Contributor](/azure/role-based-access-control/built-in-roles/internet-of-things#iot-hub-twin-contributor) is required to enable read and write access to a IoT Hub device and module twins. For more information, see [Azure built-in roles](/azure/role-based-access-control/built-in-roles#internet-of-things).
2526

2627
Add these packages and statements to your code to use the Microsoft Entra library.
2728

2829
Packages:
29-
* Azure.Core
30-
* Azure.Identity
30+
31+
* Azure.Core
32+
* Azure.Identity
3133

3234
Statements:
3335

File renamed without changes.

0 commit comments

Comments
 (0)