ConvertTo-SecureString : The system cannot find the file specified.
I have a Tidal job that executes a PowerShell script. The encrypted password is stored in a password file on the application server. In the PowerShell script, there is the line below that gets the contents of the password file.
On my development enviroment, Tidal was referencing the Agent/Adapter (app server name) and the Runtime User (domain\userID) fine. The script was executing well until recently when the Tidal server was rebooted. After the reboot, the PowerShell script execution is erroring out with the message "ConvertTo-SecureString : The system cannot find the file specified." It appears that when the PowerShell script is executed from Tidal, it is unable to find the password file using the Runtime User specified in the Tidal job.
The Runtime User has the proper access on the application server because we must sign-on as that user in order to generate the password file to hold the encrypted password for the Runtime User.
It is as if Tidal is not passing the right credentials when it is executing the PowerShell script. Has anyone come across this issue?
I have a similar issue but I am not using tidal. I am calling the script(similar command to yours) from a Website(App Pool for the Website uses the same Service Account as when the password file was made). Both the website and the location of the script are on the same server. This will work for a while and then stop working for the website to call this script and will error stating "ConvertTo-SecureString : The system cannot find the file specified". I then run the powershell script from the powershell console with run as the Service account that made the file and will work fine. After I ran it once from powershell console I will then call it again from the website and will work for few weeks again.
I am wondering if what is causing Tidal job to break would be the same thing that is breaking mine.
Join us on Wednesday, June 2 at 10 am PT/ 1 pm ET as we discuss what tomorrow's cloud will be and what you need to know to prepare.
Accelerate your IT to a cloud operating model and get the information you need to be cloud smart, no matter how many cloud...
Thanks for attending our ATXs sessions! Here’s the post-session resources for easy reference.
New to ATXs? An ATXs session, offered at no cost, is an hour of real-time learning led by Cisco experts, who will answer your technology questions through produ...
Thanks for attending our Ask the Experts (ATXs) sessions! Here’s the post-session resources for easy reference.
New to ATXs? An ATXs session, offered at no cost, is an hour of real-time learning led by Cisco experts, who will answer your technology quest...
New Cisco Champion Radio release on Cisco Intersight Cloud Operations PlatformListen: https://smarturl.it/CCRS8E15Follow us: https://twitter.com/CiscoChampion Known as Project Starship when it was introduced in June 2017, Cisco Intersight has come a ...