Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Unable to execute Orchestrator powershell command

$
0
0

Hi

i am trying to authenticate to a tenant using power shell with windows credentials. I am unable to pass tenant name as parameter though the documentation in the power shell says it can be done that way .
command response

Get-UiPathAuthToken -URL orchestratorurl -WindowsCredentials -TenantName tenantname -Session

Get-UiPathAuthToken : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1

  • Get-UiPathAuthToken -URL orchestratorurl -Win …
  •   + CategoryInfo          : InvalidArgument: (:) [Get-UiPathAuthToken], ParameterBindingException
      + FullyQualifiedErrorId : AmbiguousParameterSet,UiPath.PowerShell.Cmdlets.GetAuthToken
    
    
    

what am i doing wrong ? It works perfectly fine if tenant name is not provided.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>