You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub-device-update/create-device-update-account.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,20 +20,20 @@ A Device Update account is a resource in your Azure subscription. A Device Updat
20
20
# [Azure portal](#tab/portal)
21
21
22
22
-**Owner** or **User Access Administrator** role permissions in an Azure subscription
23
-
- A Standard (S1) or above instance of Azure IoT Hub
23
+
- A Standard (S1) or higher instance of Azure IoT Hub
24
24
- An Azure Storage account to store diagnostics logs for your Device Update instance
25
25
26
26
# [Azure CLI](#tab/cli)
27
27
28
28
-**Owner** or **User Access Administrator** role permissions in an Azure subscription
29
-
- A Standard (S1) or above instance of Azure IoT Hub
29
+
- A Standard (S1) or higher instance of Azure IoT Hub
30
30
- The Bash environment in [Azure Cloud Shell](../cloud-shell/quickstart.md). Select **Launch Cloud Shell** to open Cloud Shell.
31
31
32
32
:::image type="icon" source="~/reusable-content/ce-skilling/azure/media/cloud-shell/launch-cloud-shell-button.png" alt-text="Button to launch the Azure Cloud Shell." border="false" link="https://shell.azure.com":::
33
33
34
34
Or, if you prefer to run Azure CLI commands locally:
35
35
36
-
1.[Install Azure CLI](/cli/azure/install-azure-cli). Run [az version](/cli/azure/reference-index#az-version) to find the installed version and dependent libraries, and [az upgrade](/cli/azure/reference-index#az-upgrade) to install the latest version.
36
+
1.[Install Azure CLI](/cli/azure/install-azure-cli). Run [az version](/cli/azure/reference-index#az-version) to see the installed Azure CLI version and dependent libraries, and [az upgrade](/cli/azure/reference-index#az-upgrade) to install the latest version.
37
37
1. Sign in to Azure by running [az login](/cli/azure/reference-index#az-login).
38
38
1. Install the `azure-iot` extension when prompted on first use. To make sure you're using the latest version of the extension, run `az extension update --name azure-iot`.
39
39
@@ -44,7 +44,7 @@ A Device Update account is a resource in your Azure subscription. A Device Updat
44
44
# [Azure portal](#tab/portal)
45
45
46
46
1. In the [Azure portal](https://portal.azure.com), search for and select **Device Update for IoT Hubs**.
47
-
1.Select **Create**, or **Create Device Update for IoT Hub**if this is your first Device Update account.
47
+
1.On the **Device Update for IoT Hubs**screen, select **Create** or **Create Device Update for IoT Hub**.
48
48
49
49
:::image type="content" source="media/create-device-update-account/device-update-marketplace.png" alt-text="Screenshot of Device Update for IoT Hub resource.":::
50
50
@@ -98,15 +98,14 @@ A Device Update account is a resource in your Azure subscription. A Device Updat
98
98
-`<region>`: The Azure region for your account. For more information, see [Products available by region](https://azure.microsoft.com/explore/global-infrastructure/products-by-region/). If you don't provide a region, setup uses the resource group location.
99
99
100
100
> [!NOTE]
101
-
> Your Device Update account doesn't need to be in the same region as your IoT hub, but for better performance they should be geographically close.
101
+
> Your Device Update account doesn't need to be in the same region as your IoT hub, but for better performance it should be geographically close.
102
102
103
-
1. Run [az iot du instance create](/cli/azure/iot/du/instance#az-iot-du-instance-create) to create a Device Update instance.
103
+
1.A Device Update instance is associated with a single IoT hub. Run [az iot du instance create](/cli/azure/iot/du/instance#az-iot-du-instance-create) to create a Device Update instance and specify the IoT hub to use with the instance.
104
104
105
105
```azurecli
106
106
az iot du instance create --account <account_name> --instance <instance_name> --iothub-ids <iothub_id>
107
107
```
108
108
109
-
An *instance* of Device Update is associated with a single IoT hub. Select the IoT hub that will be used with Device Update. When you link an IoT hub to a Device Update instance, a new shared access policy is automatically created give Device Update permissions to work with IoT Hub (registry write and service connect). This policy ensures that access is only limited to Device Update.
110
109
111
110
In the command, replace the following placeholders with your own information:
112
111
@@ -121,7 +120,7 @@ An *instance* of Device Update is associated with a single IoT hub. Select the I
121
120
122
121
## Configure access
123
122
124
-
If you have the required **Owner** or **User Access Administrator** permissions for your Azure subscription, Device Update setup automatically assigns **IoT Hub Data Contributor** role access to your Device Update service principal. This access allows Device Update to run deployment, device management, and diagnostic operations.
123
+
If you have the required **Owner** or **User Access Administrator** permissions in your Azure subscription, Device Update setup automatically assigns **IoT Hub Data Contributor** role to the Device Update service principal. This role allows the Device Update instance to connect and write to the linked IoT hub to run deployment, device management, and diagnostic operations, and ensures that access is limited to the Device Update instance.
125
124
126
125
After you create your Device Update resources, you can configure access control to provide a combination of roles to users and applications for the right level of access. For more information, see [Configure access control roles for Device Update resources](configure-access-control-device-update.md).
0 commit comments