Skip to content

Commit eecaf2a

Browse files
(Azure CXP) Fixing command
Fixing command for getting Connection String. Resolves : https://github.com/MicrosoftDocs/azure-docs/issues/96088
1 parent 81eddf9 commit eecaf2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/quickstart-control-device-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ You also need a _service connection string_ to enable the back-end application t
8585
**YourIoTHubName**: Replace this placeholder below with the name you chose for your IoT hub.
8686
8787
```azurecli-interactive
88-
az iot hub connection-string show --policy-name service --name {YourIoTHubName} --output table
88+
az iot hub connection-string show --policy-name service --hub-name {YourIoTHubName} --output table
8989
```
9090

9191
Make a note of the service connection string, which looks like:

0 commit comments

Comments
 (0)