Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem New-SafeguardAccessRequest #453

Open
josema993 opened this issue Jan 16, 2023 · 6 comments
Open

problem New-SafeguardAccessRequest #453

josema993 opened this issue Jan 16, 2023 · 6 comments
Assignees

Comments

@josema993
Copy link

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

  •         throw "Unable to find a requestable account matching '$Ac ...
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Unable to find ... 'machine':String) [], RuntimeException
    • FullyQualifiedErrorId : Unable to find a requestable account matching 'machine'

Can you help whit us problem?

@miroberts
Copy link

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

@josema993
Copy link
Author

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
Copy link

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

@miroberts miroberts self-assigned this Jan 17, 2023
@miroberts
Copy link

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

@josema993
Copy link
Author

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
Copy link

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?

@miroberts miroberts assigned josema993 and unassigned miroberts Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants