Powershell Script Service Account Issue

Hello Epigru!
I am trying to run a test script within the pilot environment that accesses BAQ to pull out the information within csv. It works fine within the live environment but when it comes to testing within pilot environment, it causes a credential error. Please let me know if anyone else has this same issue before.

Thanks!

Hi Kim,

Are you using the DMT tool with the PS script? If so, I think you need to have the DMT tool setup for running in the pilot environment.

Nancy

Hi Nancy,

Thanks for the response.
Yes, that is what I am trying to do.
Would you be able to let me know how the pilot dmt to be set up to be run by ps1 script?

Thanks!

Hi Kim,

I am more business analyst than IT, but here’s what we did to make it work. Put the DMT tool in your test instance folder on the server, along with license and configuration file for it per screenshot. If you can run it from here manually on Pilot, then you can feed the DMT from PS script for the run.

Nancy

image

1 Like