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.
2 posts - 2 participants