Open ArmaanMcleod opened 2 months ago
Looks like below lines:
$operationLocation = $headers.'operation-location'
$retryAfter = $headers.'Retry-After'
return an array of one string when -Route
is expecting just a singular string.
Getting first item seems to fix it:
$operationLocation = $headers['operation-location'][0]
$retryAfter = $headers['Retry-After'][0]
When choosing to poll with
NewSubnetInjection.ps1
, there is a failure when converting operational Location to a string.