Skip to content

Get-Authtoken not working at all #10

@nlmaca

Description

@nlmaca

Maybe i am missing something. I don't get an authtoken when i try to get it. The command returns an emtpy value
release used: https://github.com/UiPath/orchestrator-powershell/releases/tag/v18.1.3.21046

My server(s) setup
Windows Server 2016 - UiPath Orchestrator(no license - they don't handout trial licenses for the orchestrator server :()
Windows Server 2016 - Uipath Studio with UiRobot
1 normal admin user and a windows user (AD import), both have the administrator Role and the logins are working.

The problem: i can't get a Authtoken with either of the accounts.
I tried all of them:
https://github.com/UiPath/orchestrator-powershell/blob/master/docs/Get-UiPathAuthToken.md

The token doesn't get set. It returns blank.
When i try to run an example command from the link above it returns empty. When i run the next command i get errors like this:

Get-UiPathEnvironment : An authentication token is required. Specify a value for -AuthToken on the cmdlet or call Set-UiPathAuthToken for the 
session
At line:1 char:1
+ Get-UiPathEnvironment
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-UiPathEnvironment], Exception
    + FullyQualifiedErrorId : System.Exception,UiPath.PowerShell.Cmdlets.GetEnvironment

This command also doesnt work:
Get-Help -Module UiPath.PowerShell

Get-Help : A parameter cannot be found that matches parameter name 'Module'.
At line:1 char:10
+ Get-Help -Module UiPath.PowerShell
+          ~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Help], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.GetHelpCommand

Are there some Prerequisites i need to have on the Orchestrator Server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions