Skip to content

Commit d9cde04

Browse files
committed
Inspect DPS connection strings
1 parent c5edf6d commit d9cde04

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

vsts/dps-e2e.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ stages:
206206
time az iot dps create -g $AZURE_RESOURCE_GROUP --name $AZURE_DPS_NAME -l $(AZURE_REGION)
207207
time az iot dps linked-hub create -g $AZURE_RESOURCE_GROUP --dps-name $AZURE_DPS_NAME --connection-string "$IOTHUB_CONNECTION_STRING"
208208
209+
echo ">>>>>"
210+
az iot dps connection-string show -g $AZURE_RESOURCE_GROUP --name $AZURE_DPS_NAME
211+
echo "<<<<<"
212+
209213
export DPS_CONNECTION_STRING=$(az iot dps connection-string show -g $AZURE_RESOURCE_GROUP --name $AZURE_DPS_NAME --pn provisioningserviceowner --query "connectionString" --output tsv)
210214
export DPS_ID_SCOPE=$(az iot dps show --name $AZURE_DPS_NAME -g $AZURE_RESOURCE_GROUP --query properties.idScope --output tsv)
211215
export DPS_HOSTNAME=$(az iot dps show --name $AZURE_DPS_NAME -g $AZURE_RESOURCE_GROUP --query properties.deviceProvisioningHostName --output tsv)

0 commit comments

Comments
 (0)