Closed chavansachin20 closed 4 years ago
Hi @chavansachin20 you need to setup the agent to run as admin. If you set it to run in console, run it as admin after you login. If you set it as service (I never tried this), check that the user under which it is running, is admin.
also, we receive an error related to TestLibraryOnly parameter while executing "Create container".
Hi @chavansachin20, please, keep one issue per one problem. If you have another, open new issue. It will help to track better the progress. I have created new issue for the TestLibraryOnly error.
Can you confirm that the Install or update scripts task is running ok now, when the Agent is running as admin?
it still giving me the same message.
How is your agent running? As service or in console?
in console.
It is not enough, you need to make it run as admin. I am running the agent manually, you can try to check "Run as admin" property on the agent or something.
Thanks, @kine this works for me!
Hi @kine ,
we have installed NaverticAL from DevOps and while running agent we are getting below error
I think inside Build pipeline, Agent job is not running Powershell as Run as admin.
can you help here to pass this agent job?
Error details :
[error]Administrator rights are required to install packages in 'C:\Program Files\PackageManagement\ProviderAssemblies'. Log on to the computer with an account that has Administrator rights, and then try again, or install in 'C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\PackageManagement\ProviderAssemblies' by adding "-Scope CurrentUser" to your command. You can also try running the Windows PowerShell session with elevated rights (Run as Administrator).
Thanks in Advance!