orchestrator-powershell
orchestrator-powershell copied to clipboard
Get-UiPathAuthToken with windows credentials and tenant
There seems to be a problem with Get-UiPathAuthToken with windows credentials and tenant. If I have the same AD account in multiple tenants and use Get-UiPathAuthToken I get a response, that I'm connected to the correct tenant but when I use Get-UiPathRobot I get the robots from the tenant with the lowest Id.
I'm experiencing the same issue. It seems like the -TenantName parameter accepts any string value regardless if it's a tenant or not. As far as I can tell it simply authenticates to the "default" tenant despite listing the token as authenticated to the TenantName you entered.
Hi, I'm using O19.10 and Get-UiPathAuthToken always use context of Default tenant, even if I specify different one. If Default Tenant is disable while other in use it throws: The operation returned an error: 0: You are not authenticated! AD Authentication, same user on each tenant. Any update on that?
This is an Orchestrator bug, using the API with Windows credentials is incompatible with multiple tenants. We need to fix first the Orchestrator, in a future release.