You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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