File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,10 +207,10 @@ stages:
207207 time az iot dps linked-hub create -g $AZURE_RESOURCE_GROUP --dps-name $AZURE_DPS_NAME --connection-string "$IOTHUB_CONNECTION_STRING"
208208
209209 echo ">>>>>"
210- az iot dps connection-string show -g $AZURE_RESOURCE_GROUP --name $AZURE_DPS_NAME
210+ az iot dps connection-string show -g $AZURE_RESOURCE_GROUP --dps- name $AZURE_DPS_NAME
211211 echo "<<<<<"
212212
213- export DPS_CONNECTION_STRING=$(az iot dps connection-string show -g $AZURE_RESOURCE_GROUP --name $AZURE_DPS_NAME --pn provisioningserviceowner --query "connectionString" --output tsv)
213+ export DPS_CONNECTION_STRING=$(az iot dps connection-string show -g $AZURE_RESOURCE_GROUP --dps- name $AZURE_DPS_NAME --policy-name provisioningserviceowner --query "connectionString" --output tsv)
214214 export DPS_ID_SCOPE=$(az iot dps show --name $AZURE_DPS_NAME -g $AZURE_RESOURCE_GROUP --query properties.idScope --output tsv)
215215 export DPS_HOSTNAME=$(az iot dps show --name $AZURE_DPS_NAME -g $AZURE_RESOURCE_GROUP --query properties.deviceProvisioningHostName --output tsv)
216216
You can’t perform that action at this time.
0 commit comments