Skip to content

Commit 970422e

Browse files
authored
Merge pull request #92690 from fgheysels/main
Provision-EflowVM: improvement on registrationId parameter
2 parents 1e5f607 + 31169b3 commit 970422e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
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).

articles/iot-edge/reference-iot-edge-for-linux-on-windows-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The **Provision-EflowVm** command adds the provisioning information for your IoT
287287
| deviceId | The device ID of an existing IoT Edge device | Device ID for provisioning an IoT Edge device (**ManualX509**). |
288288
| scopeId | The scope ID for an existing DPS instance. | Scope ID for provisioning an IoT Edge device (**DpsTPM**, **DpsX509**, or **DpsSymmetricKey**). |
289289
| symmKey | The primary key for an existing DPS enrollment or the primary key of an existing IoT Edge device registered using symmetric keys | Symmetric key for provisioning an IoT Edge device (**DpsSymmetricKey**). |
290-
| registrationId | The registration ID of an existing IoT Edge device | Registration ID for provisioning an IoT Edge device (**DpsSymmetricKey**). |
290+
| registrationId | The registration ID of an existing IoT Edge device | Registration ID for provisioning an IoT Edge device (**DpsSymmetricKey**, **DpsTPM**). |
291291
| identityCertPath | Directory path | Absolute destination path of the identity certificate on your Windows host machine (**ManualX509**, **DpsX509**). |
292292
| identityPrivKeyPath | Directory path | Absolute source path of the identity private key on your Windows host machine (**ManualX509**, **DpsX509**). |
293293
| globalEndpoint | Device Endpoint URL | URL for Global Endpoint to be used for DPS provisioning. |

0 commit comments

Comments
 (0)