You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
First, I love this thing! wish I found it 2 weeks ago!
Anyway, I am trying to automate building out an azure env using the azure v2 cli and it seems to blow out on commands like this:
$cmd = "az vm extension set --verbose --resource-group $rg --vm-name $name --name customScript --publisher Microsoft.Azure.Extensions --settings '{\`"fileUris\`": [ \`"$fileUris\`" ], \`"commandToExecute\`": \`"$commandToExecute\`"}'"
$cmd = Invoke-Expression $cmd
Write-Host "[$name] Executed $commandToExecute"
With this error:
Get-RunspaceData : ERROR: Deployment failed. Correlation ID: 3406f079-12d5-4eb3-a423-cef1d2a29696. Operation PutSecurityRuleOperation (1dd51017-88ce-421a-971d-ae07ef29f83b) was canceled and superseded by operation PutSecurityRuleOperation (b100457e-8062-4bcb-bcff-0778cfa80780).
At /Users/foo/Documents/Projects/myproject/bin/Invoke-Parallel.ps1:543 char:13
ERROR: Deployment failed seems to be the error from the azure vm externsion. The Get-RunspaceData call simply marshals the error from a separate powershell runspace (it's like a thread for this context) to the main runspace.
Hmmm... Ok. Issue here is that this only happens when I try to use the invoke-parallel version of this. when i use the normal version, it works. is there a way to either suppress this or ignore it?
Hello,
First, I love this thing! wish I found it 2 weeks ago!
Anyway, I am trying to automate building out an azure env using the azure v2 cli and it seems to blow out on commands like this:
With this error:
Get-RunspaceData : ERROR: Deployment failed. Correlation ID: 3406f079-12d5-4eb3-a423-cef1d2a29696. Operation PutSecurityRuleOperation (1dd51017-88ce-421a-971d-ae07ef29f83b) was canceled and superseded by operation PutSecurityRuleOperation (b100457e-8062-4bcb-bcff-0778cfa80780).
At /Users/foo/Documents/Projects/myproject/bin/Invoke-Parallel.ps1:543 char:13
Are there any clues to look for to fix this?
The text was updated successfully, but these errors were encountered: