PowerShell secret/id question

PowerShell secret/id question

avatar

Hi,
I got all of our code working fine; however, I have one more issue that I think may be due to our web page running the code under a different user than me.
When I run our code in dev using my secret and key, or if I run the code directly from PowerShell, I can successfully get a list of entries.
When I run the code from our production website, and under a different user than me, I don't get any results back.

I'm wondering if it might be because the secret and key are not registered for that user but are registered under my user profile instead?

Any advice is appreciated. Also sorry if this is the wrong part of the forum for this!

Thanks
Brian

All Comments (4)

avatar

Hello,

The secret and key should be available to any script that will use it.

Can you verify in Reports - Login attempt on the DVLS web UI if there is any logs regarding failed login attempt with that secret?

Best regards,

Érica Poirier

avatar

I will have them check for me. thanks!

avatar

Hi,
with some error logging I was able to figure out the issue. When I installed the module I didn't do it for all users scope. Once I uninstalled it completely and re-installed for all users things started working.

Thanks!

avatar

Hello,

Thank you for your feedback and glad you were able to figure it out to get the PowerShell module working.

Best regards,

Érica Poirier