Skip to content

Commit 31169b3

Browse files
authored
Specify usage of registrationId parameter
Specify that the registrationId parameter must be used when the device is enrolled using a custom registrationId
1 parent 944738a commit 31169b3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/iot-edge/how-to-provision-devices-at-scale-linux-on-windows-tpm.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ Simulated TPM samples:
139139
```powershell
140140
Provision-EflowVM -provisioningType "DpsTpm" -scopeId "SCOPE_ID_HERE"
141141
```
142+
143+
If you have enrolled the device using a custom **Registration Id**, you must specify that Registration Id as well when provisioning:
144+
145+
```powershell
146+
Provision-EflowVM -provisioningType "DpsTpm" -scopeId "SCOPE_ID_HERE" -registrationId "REGISTRATION_ID_HERE"
147+
```
142148

143149
# [Windows Admin Center](#tab/windowsadmincenter)
144150

@@ -167,6 +173,12 @@ Simulated TPM samples:
167173
```powershell
168174
Provision-EflowVM -provisioningType "DpsTpm" -scopeId "SCOPE_ID_HERE"
169175
```
176+
177+
If you have enrolled the device using a custom **Registration Id**, you must specify that Registration Id as well when provisioning:
178+
179+
```powershell
180+
Provision-EflowVM -provisioningType "DpsTpm" -scopeId "SCOPE_ID_HERE" -registrationId "REGISTRATION_ID_HERE"
181+
```
170182

171183
:::moniker-end
172184

@@ -272,4 +284,4 @@ Use the following commands on your device to verify that the IoT Edge installed
272284
273285
The device provisioning service enrollment process lets you set the device ID and device twin tags at the same time as you provision the new device. You can use those values to target individual devices or groups of devices by using automatic device management.
274286
275-
Learn how to [deploy and monitor IoT Edge modules at scale by using the Azure portal](how-to-deploy-at-scale.md) or [the Azure CLI](how-to-deploy-cli-at-scale.md).
287+
Learn how to [deploy and monitor IoT Edge modules at scale by using the Azure portal](how-to-deploy-at-scale.md) or [the Azure CLI](how-to-deploy-cli-at-scale.md).

0 commit comments

Comments
 (0)