Skip to content

Commit 6debdea

Browse files
committed
Refactor started
1 parent 5e24dd1 commit 6debdea

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ To complete this tutorial, you need the following:
2323

2424
* Visual Studio.
2525

26-
* An active Azure account. If you don't have an account, you can create a [free account](https://azure.microsoft.com/pricing/free-trial/) in just a couple of minutes.
27-
28-
* [Azure PowerShell 1.0](/powershell/azure/install-Az-ps) or later.
26+
* [Azure PowerShell](/powershell/azure/install-Az-ps).
2927

3028
[!INCLUDE [iot-hub-prepare-resource-manager](../../includes/iot-hub-prepare-resource-manager.md)]
3129

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The following steps show how to set up password authentication for an AD applica
3131
-SubscriptionName "{your subscription name}"
3232
```
3333
34-
2. Make a note of your **TenantId** and **SubscriptionId**. You need them later.
34+
2. Make a note of your **Id** and **TenantId**. You need them later.
3535
3. Create a new Azure Active Directory application using the following command, replacing the place holders:
3636
3737
* **{Display name}:** a display name for your application such as **MySampleApp**
@@ -40,7 +40,7 @@ The following steps show how to set up password authentication for an AD applica
4040
* **{Password}:** A password that you use to authenticate with your app.
4141
4242
```powershell
43-
$SecurePassword=ConvertTo-SecureString {password} asplaintext force
43+
$SecurePassword=ConvertTo-SecureString {password} -asplaintext -force
4444
New-AzADApplication -DisplayName {Display name} -HomePage {Home page URL} -IdentifierUris {Application identifier} -Password $SecurePassword
4545
```
4646
4. Make a note of the **ApplicationId** of the application you created. You need this later.

includes/updated-for-az.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ manager: barbkess
77

88
---
99
> [!NOTE]
10-
> This article uses the Azure Az PowerShell module, which is the recommended PowerShell module for interacting with Azure. To get started with the Az PowerShell module, see [Install Azure PowerShell](/powershell/azure/install-az-ps). To learn how to migrate to the Az PowerShell module, see [Migrate Azure PowerShell from AzureRM to Az](/powershell/azure/migrate-from-azurerm-to-az).
10+
> To interact with Azure, the Azure Az PowerShell module is recommended. See [Install Azure PowerShell](/powershell/azure/install-az-ps) to get started. To learn how to migrate to the Az PowerShell module, see [Migrate Azure PowerShell from AzureRM to Az](/powershell/azure/migrate-from-azurerm-to-az).

0 commit comments

Comments
 (0)