From 466193adbe616a627e5ef4074e8c7e9183341c0d Mon Sep 17 00:00:00 2001 From: Aasim Khan Date: Mon, 2 Aug 2021 16:26:09 -0700 Subject: [PATCH] Fixing the redacted migration service id by encoding it to base64 (#16528) --- extensions/sql-migration/src/models/stateMachine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sql-migration/src/models/stateMachine.ts b/extensions/sql-migration/src/models/stateMachine.ts index 5668902d96..20615a58f3 100644 --- a/extensions/sql-migration/src/models/stateMachine.ts +++ b/extensions/sql-migration/src/models/stateMachine.ts @@ -909,7 +909,7 @@ export class MigrationStateModel implements Model, vscode.Disposable { 'serverName': this._targetServerInstance.name, 'tenantId': this._azureAccount.properties.tenants[0].id, 'location': this._targetServerInstance.location, - 'sqlMigrationServiceId': this._sqlMigrationService.id, + 'sqlMigrationServiceId': Buffer.from(this._sqlMigrationService.id).toString('base64'), 'irRegistered': (this._nodeNames.length > 0).toString() }, {