Skip to content

Commit ff32dc2

Browse files
committed
Reowrded some parts
1 parent 859a19d commit ff32dc2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

articles/iot-hub/iot-hub-rm-rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

includes/iot-hub-prepare-resource-manager.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

3635
1. 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
```
4948
1. 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
6564
You need the following values later in this tutorial:
6665

0 commit comments

Comments
 (0)