SiloReed

Results comments of SiloReed

Looks like version 3.0.0 of the AzureRM.profile module removes Select-​Azure​Rm​Profile and Save-​Azure​Rm​Profile. I had these working with background jobs but now it's broken with the latest modules. Struggling to find...

Yes, the workaround I found was to sign into AzureRM with a service principal with certificate authentication. Then the Import-AzureRmContext call works correctly in the background job, most likely because...

I'm porting some PowerShell code that I've used to start and stop AWS EC2 instances to AzureRM. I was surprised to find that the Start-AzureRmVM and Stop-AzureRmVM cmdlets were blocking,...

I am also having problems with using Save-AzureRmContext and Import-AzureRmContext in version 3.0.0 of the AzureRm.profile module. With version 2.8.0 I was able to use Import-AzureRmContext in a background job...

Digiroka's workaround does not work in a background job. I updated the scriptblock in my Issue3954.ps1 script to include Set-AzureRmContext: ```powershell $sb = { Import-AzureRmContext -AzureContext $using:AzureProfile Set-AzureRmContext -SubscriptionId $using:SubscriptionId...

@akromm I re-tested and I can happily confirm that everything looks good on my end. Thanks!

@daviwil it appears that I see something similar when debugging a PowerShell script that executes the 'Login-AzureRMAccount' cmdlet. I workaround the problem by first connecting to Azure in the interactive...

Sorry, the workaround script doesn't work either. If you add this else statement in your Ensure-Runspace function: } else { Write-Host "Runspace OK" } You will see that the default...

@timayabi2020 please reopen. See my last comment that your workaround does not work.