I hav esome basic powershell scripts to audit some of the permissions within octopus, but since we upgraded from 2019.1 to 2019.13 I am getting this error:
Exception calling “GetAll” with “0” argument(s): "Unable to process response from server: Error converting value “RunbookRunCreate” to type
‘Octopus.Client.Model.Permission’. Path ‘[0].GrantedSpacePermissions[4]’, line 20, position 24… Response content: [
{
“Id”: “UserRoles-63”,
“Name”: “Ariel Team Configurator”,
“Description”: “Edits”
At line:1 char:1
Thanks for reaching out. Sorry to hear that you’re running into this error.
Unfortunately, I have not been able to reproduce this error, but I’m wondering if that’s because we are running different versions of octopus.client.dll?
If possible can you send me the version of Octopus Client you’re running?
Hi @ktrommeshauser1,
Thanks for sending over your Client.dll version. Your Octopus Server and Client versions appear to be out of sync.
By chance, are you pointing to a client.dll outside of your Octopus Server instance? The default location for the client is typically located at C:\Program Files\Octopus Deploy\Octopus\Octopus.Client.dll, here you should find version 8.0.0.0 or higher. Running version 8.0.0.0 or higher should allow you to run your permissions audit script error-free.
Let me know if that’s not the case for you as something may have gone awry with your Server upgrade.