OneIdentity / safeguard-ps

One Identity Safeguard PowerShell scripting resources
Apache License 2.0
22 stars 27 forks source link

problem New-SafeguardAccessRequest #453

Open josema993 opened 1 year ago

josema993 commented 1 year ago

With version 6.13.62645 we are having problems when creating a new access request

image

when execute the command:

$Appliance = "appliancename" $user = "user" $Password = "password" | ConvertTo-SecureString -AsPlainText -Force $accountName = "machine" $accountAsset = "machine.url.global" $sourceappliance = Connect-Safeguard $Appliance -Insecure -IdentityProvider ad1 -Username $user -Password $Password New-SafeguardAccessRequest -Appliance $Appliance -insecure -AccessToken $sourceappliance -AccountToUse $accountName -AssetToUse $accountAsset -AccessRequestType "SSH"

We get the following error:

Unable to find a requestable account matching 'machine' En C:\Users\jrodrige\Documents\WindowsPowerShell\Modules\safeguard-ps\6.13.62645\requests.psm1: 100 Carácter: 13

Can you help whit us problem?

miroberts commented 1 year ago

I believe you are hitting the same issue that is reported here https://github.com/OneIdentity/safeguard-ps/issues/452 Does that sound right?

josema993 commented 1 year ago

I believe you are hitting the same issue that is reported here #452 Does that sound right?

No. We use version 6.13.62645. And our problem is FullyQualifiedErrorId : Unable to find a requestable account matching 'machine'

Thanks :S

miroberts commented 1 year ago

True. I will look into this to see what I can find.

miroberts commented 1 year ago

What version of Safeguard are you running against? Is it version 6.13?

josema993 commented 1 year ago

What version of Safeguard are you running against? Is it version 6.13?

We use image

and the safeguard-ps version is: 6.13.62645

miroberts commented 1 year ago

I have tested with safeguard-ps 6.13.6245 / spp 7.1 and can't duplicate this. Are you able to checkout the password for account "machine" from the UI?