Skip to content

Commit dfea4ae

Browse files
author
Keisuke Murayama
authored
-o tsv added
subscriptionID=$(az account show --query id) needs -o tsv for working cli
1 parent b5d75b2 commit dfea4ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/iot-hub/tutorial-routing-config-message-routing-CLI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Copy and paste the script below into Cloud Shell and press Enter. It runs the sc
4141
```azurecli-interactive
4242
# This command retrieves the subscription id of the current Azure account.
4343
# This field is used when setting up the routing queries.
44-
subscriptionID=$(az account show --query id)
44+
subscriptionID=$(az account show --query id -o tsv)
4545
4646
# Concatenate this number onto the resources that have to be globally unique.
4747
# You can set this to "" or to a specific value if you don't want it to be random.
@@ -301,4 +301,4 @@ az iot hub route create --name $routeName \
301301
Now that you have the resources set up and the message routes configured, advance to the next tutorial to learn how to send messages to the IoT hub and see them be routed to the different destinations.
302302

303303
> [!div class="nextstepaction"]
304-
> [Part 2 - View the message routing results](tutorial-routing-view-message-routing-results.md)
304+
> [Part 2 - View the message routing results](tutorial-routing-view-message-routing-results.md)

0 commit comments

Comments
 (0)