New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed : Install NVRAppDevOps and navcontainerhelper PowerShell modules #4
Comments
Hi @chavansachin20 |
Hi @chavansachin20, Can you confirm that the Install or update scripts task is running ok now, when the Agent is running as admin? |
How is your agent running? As service or 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!
The text was updated successfully, but these errors were encountered: