Hi Gabe,
Our Blue Prism environment set to use SSO login only. However, if we try above commands in actual VM where our Blue Prism client exist then I am able to import the process but when I execute same commands from my PowerShell script on the VM using the below command
Invoke-AzVMRunCommand -ResourceGroupName $rgName -VMName $vmName -CommandId 'RunPowerShellScript' -ScriptPath '.\TestScripts\ImportProcessCommand.ps1'then I am getting error "
Login failed: Local System accounts, guest accounts and anonymous user credentials are not compatible with a single sign-on configuration"
And in that ImprtProcessCommands.ps1 file we have below code snippet.
Invoke-Command -Computername "computername" -Credential $Cred -ScriptBlock {
Set-Location -Path "Path-till-AutomateC.exe-dir"
$importProcessStatus = .\AutomateC.exe /importrelease "path-of-release" /sso
}
------------------------------
Yogesh Adsare
------------------------------