Skip to content

Commit

Permalink
Merge pull request #10 from TimShererWithAquent/us1970076k
Browse files Browse the repository at this point in the history
Azure CLI syntax updates
  • Loading branch information
rido-min committed Aug 1, 2022
2 parents 3396bdf + de85257 commit 9f4f5b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ This sample needs an IoT hub and a registered device. If you don't already have
az iot hub device-identity create --hub-name <your IoT Hub name> --device-id <your device id>
```

1. [Retrieve your Device Connection String](https://docs.microsoft.com/en-us/cli/azure/ext/azure-cli-iot-ext/iot/hub/device-identity?view=azure-cli-latest#ext-azure-cli-iot-ext-az-iot-hub-device-identity-show-connection-string) using the Azure CLI
1. [Retrieve your Device Connection String](https://docs.microsoft.com/cli/azure/iot/hub/device-identity/connection-string#az-iot-hub-device-identity-connection-string-show) using the Azure CLI

```bash
az iot hub device-identity show-connection-string --device-id <your device id> --hub-name <your IoT Hub name>
az iot hub device-identity connection-string show --device-id <your device id> --hub-name <your IoT Hub name>
```

It should be in the format:
Expand Down

0 comments on commit 9f4f5b5

Please sign in to comment.