I have a Azure DevOps Pipeline configured to run over Network Service account. It tries to run an application which stores its settings in the user’s Roaming AppData folder.
When, I try to run the application through the pipeline, it throws errors telling settings not found.
I believe this is because Network Service account’s AppData is being maintained separately.
I was thinking to copy the AppData files from the user’s AppData folder to this location. However, I don’t think this is the correct way to handle this problem.
What if I copy the AppData to the the ProgramData folder? Would that work?
Is there a better way to do this?