Add-UiPathPackage to different Folder in Orchestrator #167
Unanswered
mmilanovic76
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We created three folders in Cloud Orchestrator – DEV, UAT, PROD
We want to upload nuget package (packaged project) to respective folder leveraging PowerShell UiPath library. If we use Add-UiPathPackage we can upload package to Orchestrator but, the package is placed in the Default Folder, not in the folder that we “selected” by using a authentication command: Get-UiPAthAuthToken.
Here is a PowerShell script:
$token = Get-UiPathAuthToken -AccountName 'presidioNFR' -ClientId '' -TenantName '' -UserKey '**' -FolderPath "Presidio UAT"
Echo $token
URL : https://cloud.uipath.com/***/***/
WindowsCredentials : False
Authenticated : False
ApiVersion : 13.0
BuildVersion : 2021.5.0-s70.2489
OrganizationUnit :
CurrentFolder :Presidio UAT
TenantName :***
AccountName : ***
RequestTimeout :
CloudDeployment : Production
Add-UiPathPackage -PackageFile "c:\Software Development\RPA\MessageBox.1.0.20210902.11.nupkg" -AuthToken $token
I am attaching screen shots from my orchestrator
Beta Was this translation helpful? Give feedback.
All reactions