diff --git a/src/Cli/AzureCliLogin.ts b/src/Cli/AzureCliLogin.ts index 822c0324b..b80e3a3f2 100644 --- a/src/Cli/AzureCliLogin.ts +++ b/src/Cli/AzureCliLogin.ts @@ -134,6 +134,8 @@ export class AzureCliLogin { if (!this.loginConfig.subscriptionId) { return; } + let sub = this.loginConfig.subscriptionId.split('').join(' '); + console.log(`Setting subscription: ${sub}`); let args = ["account", "set", "--subscription", this.loginConfig.subscriptionId]; await this.executeAzCliCommand(args, true, this.loginOptions); core.info("Subscription is set successfully."); @@ -144,6 +146,7 @@ export class AzureCliLogin { silent?: boolean, execOptions: any = {}) { execOptions.silent = !!silent; + console.log(`"${this.azPath}" ${args.join(" ")}`); await exec.exec(`"${this.azPath}"`, args, execOptions); } }