Open Prem-Aggarwal-Technical opened 8 months ago
All the commands you mention are exclusively to be used with the cloud version of the aggregator. When you use a docker hosted runtime, you just copy the rule files in a directory of the container and then use the map.local command to map your rule. https://tfsaggregator.github.io/docs/v3/setup/docker/
Hi Team,
I am using Azure Devops ADO 2022. We are not using Azure (Cloud version). I need to use TFS aggregator. I setup Service in Docker Container (Linux Based) and client in our Windows Machine.
I am successfully logged in using below commands via Aggregator CLI. aggregator-cli logon.ado --url https://dev.azure.com/youraccount --mode PAT --token ***
But when I am trying to run another commands like list.instances or invoke.rule or any other command. It is giving me below error.
PS C:\Program Files\aggregator-cli> aggregator-cli install.instance --verbose --name inst1 --location india [2023-12-04 23:58:58Z] aggregator-cli v1.2.0 (build: 1.2.0.0 Release) (c) Copyright c TFS Aggregator Team [2023-12-04 23:58:58Z] Authenticating to Azure... [2023-12-04 23:58:58Z] No cached Azure credential: run the logon.azure command. [2023-12-04 23:58:58Z] Exiting with code 99
Why it is asking to login using logon.azure when I am successfully logged-in using PS C:\Program Files\aggregator-cli> aggregator-cli logon.ado --url https://server/tfs/TestCollection -t 123456789123456789 -m PAT [2023-12-04 23:57:57Z] aggregator-cli v1.2.0 (build: 1.2.0.0 Release) (c) Copyright c TFS Aggregator Team [2023-12-04 23:57:58Z] Connecting to Azure DevOps using PAT credential... [2023-12-04 23:57:59Z] logon.ado Succeeded [2023-12-04 23:57:59Z] Exiting with code 0
Please suggest me. Is it required both Azure and Azure Devops like below aggregator-cli logon.azure --subscription **** --client **** --password * --tenant **** aggregator-cli logon.ado --url https://dev.azure.com/youraccount --mode PAT --token *****
but we have no logon.azure credentials because we are only using Azure Devops (On Premise).
Is there any way? Can we use TFS aggregator with only Azure Devops (On Premise)? Please help and guide us.
URL: https://tfsaggregator.github.io/docs/v3/commands/command-examples/