tfsaggregator / aggregator-cli

A new version of Aggregator aiming at Azure DevOps (ex Visual Studio Team Services)
https://tfsaggregator.github.io/
Apache License 2.0
74 stars 32 forks source link

Retrieving Kudu publish credentials for InstanceName fails #294

Open Cabalerio opened 1 week ago

Cabalerio commented 1 week ago

Steps to reproduce

  1. Login.ado
  2. Login.azure
  3. Perform map to existing rule

Expected behavior

Rule is mapped in project settings.

Actual behavior

Fails to obtain Kudu publish credentials.

Diagnostic logs

.\aggregator-cli.exe map.rule --verbose --project "xxx" --event workitem.updated --instance "InstanceName" --resourceGroup "resourceGroup" --rule "existingRule" [2024-11-14 13:08:22Z] aggregator-cli v1.2.0 (build: 1.2.0.0 Release) (c) Copyright © TFS Aggregator Team [2024-11-14 13:08:22Z] Authenticating to Azure... [2024-11-14 13:08:22Z] Connected to subscription xxx [2024-11-14 13:08:22Z] Authenticating to Azure DevOps... [2024-11-14 13:08:23Z] Connected to xxx.visualstudio.com [2024-11-14 13:08:23Z] Reading Azure DevOps project data... [2024-11-14 13:08:23Z] Project xxx data read. [2024-11-14 13:08:23Z] Retrieving existingRule Function Key... [2024-11-14 13:08:23Z] Retrieving Kudu publish credentials for InstanceName. [2024-11-14 13:08:24Z] Object reference not set to an instance of an object.

Environment

Please share additional details about your environment. Version 1.2.0