File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ You can use the [IoT Hub resource provider REST API](/rest/api/iothub/iothubreso
2323
2424* Visual Studio.
2525
26- * [ Azure PowerShell 1.0 ] ( /powershell/azure/install-Az-ps ) or later .
26+ * [ Azure Az PowerShell module ] ( /powershell/azure/install-Az-ps ) .
2727
2828[ !INCLUDE [ iot-hub-prepare-resource-manager] ( ../../includes/iot-hub-prepare-resource-manager.md )]
2929
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ The following steps show how to set up password authentication for an AD applica
2929 Select the subscription you want to use. You can use either the subscription name or ID from the output of the previous command.
3030
3131 ``` powershell
32- Select-AzSubscription `
33- -SubscriptionName "{your subscription name}"
32+ Select-AzSubscription -SubscriptionName "{your subscription name}"
3433 ```
3534
36351 . Save your ** TenantId** and ** SubscriptionId** . You need them later.
@@ -43,7 +42,7 @@ The following steps show how to set up password authentication for an AD applica
4342 * ** {Password}:** A password that you use to authenticate with your app.
4443
4544 ``` powershell
46- $SecurePassword=ConvertTo-SecureString {password} – asplaintext – force
45+ $SecurePassword=ConvertTo-SecureString {password} - asplaintext - force
4746 New-AzADApplication -DisplayName {Display name} -HomePage {Home page URL} -IdentifierUris {Application identifier} -Password $SecurePassword
4847 ```
49481. Save the **ApplicationId** of the application you created. You need this later.
@@ -60,7 +59,7 @@ The following steps show how to set up password authentication for an AD applica
6059 New-AzRoleAssignment -RoleDefinitionName Owner -ServicePrincipalName {MyApplicationId}
6160 ```
6261
63- You finished creating the Azure AD application that enables you to authenticate from your custom C# application.
62+ With your new Azure AD application, you can now authenticate from your custom C# application.
6463
6564You need the following values later in this tutorial:
6665
You can’t perform that action at this time.
0 commit comments