Start a new topic

Current RoyalTS integration with Delinea Secret Server help needed.

NOTE: I will also be following up with support on this; I'm just hoping someone here has seen this as well.

Hello-- I have already reached out to support for help on this, and they sent me the current instructions to use Dynamic Folders for Secret Server Integration. I followed them (at least I thought I did), and am getting this error when refreshing:

An Error Occurred while executing the dynamic folder's script: "  [31;1mInvoke-WebRequest: [0mC:\Users\redactedl\AppData\Local\Temp\Royal TS V7\DynF_fac20509-3f35-4efb-be9f-f1e18069528f_1753285327.ps1:82 [0m [31;1m [0m [36;1mLine | [0m [31;1m [0m [36;1m [36;1m 82 | [0m . tokenJSON = [36;1mInvoke-WebRequest -SkipCertificateCheck -Uri $tokenRoute [0m . [0m [31;1m [0m [36;1m [36;1m [0m [36;1m [0m [36;1m | [31;1m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [0m [31;1m [0m [36;1m [36;1m [0m [36;1m [0m [36;1m [31;1m [31;1m [36;1m | [31;1mNo such host is known. [0m"

I'm inferring from this that I'm somehow entering the URL to our Secret Server instance incorrectly or in the wrong place, because another message is below it that states "at least one token couldn't be resolved."


Perhaps I'm misunderstanding how the Dynamic Folder is supposed to function?


Thanks for any insight you may have.




Hi Jeff,


as far as I know, the dynamic folder script needs to run with PowerShell (Core) instead of Windows PowerShell.


Can you try to use PowerShell (Core) 7 or later?


Regards,
Stefan

Hi--

I probably should have added that this was with PowerShell 7. I went back and forth with support, and it was thought that the likely issue is that my Secret Server deployment is Federated with Azure SSO, so I created a local user and tried that-- and I still got that error message, so I have essentially given up at this point. The way it seems to me is that the script is not pulling in my entries from the interface.


Thanks for following up.

Jeff



I see. Could be. The error message though is "No such host is known". The best way to troubleshoot something like this (maybe with the vendor) is to provide a bare bone script which is able to gather the needed data. Once such a script is working, it's easier to integrate/update the dynamic folder script.

Login or Signup to post a comment