Devolutions Server - PowerShell - Get-DSEntries return 404

Devolutions Server - PowerShell - Get-DSEntries return 404

avatar

Hi,
I need to get Entries in the Vault, but Get-DSEntries -VaultId $vaultId return me the ErrorMessage: "No HTTP resource was found that matches the request URI 'https://<server name>/dps/api/Connections/list/all'"; StatusCode: 404
Tested on:

  • Devolutions Server versions 2021.2.13.0 and 2021.2.8.0
  • Powershell module 2021.5.0 (current version) from Powershell gallery
  • Powershell version 7.2.0

Other commands like Get-DSEntry works fine and I can read the data
Is the URI wrong, or what can I do to get Id's of all entries?

Thanks for your help
BR
Jiří Malina

All Comments (6)

avatar

Hello,

The PowerShell Gallery module has not been updated in quite some time; can you instead get the module from GitHub: https://github.com/Devolutions/devolutions-server/tree/main/Powershell%20Module

If Get-DSentry works, it should also work with Get-DSEntries

Best regards,

Richard Boisvert

avatar

Hi @Richard,
I tested it with module from Github, but still the same error :-(. Is the URL right?
Thanks

avatar

Hello,

I was able to replicate your issue with the latest version for Github, the engineer in charge of the PS module is having a look.

Best regards,

Richard Boisvert

avatar

Hello,

You should be able to achieve the expected outcome by using Get-DSEntry -All -VaultId $Id.Get-DSEntries should be deprecated with the next release.

Best regards,

Alexandre Martigny

avatar

Hi Alexandre,
it works for me in version from github. The version from Powershell Gallery do not contain param -All.
Maybe will be fine to upgrade the version on the Powershell Gallery ;-)
Thanks

BR
Jiří Malina

avatar

Hello,

We released a new version on PSGallery earlier this week. This release includes:

  • Various small fixes to multiple CMDlets
  • CMDlets to manage AD
  • CMDlets to import users from AD
  • CMDlet to manage permissions on vaults, folders and entries
  • CMDlets to manage Devolutions Gateway


You can now update to the new version and test it out. Do not hesitate and reach out to us if you have any kind of trouble while using our module.

Best regards,

Alexandre Martigny