enable AAD auth for table designer (#18248)

This commit is contained in:
Alan Ren
2022-02-08 16:17:07 -08:00
committed by GitHub
parent 808313dafb
commit 3ddc319736
2 changed files with 5 additions and 3 deletions

View File

@@ -19,7 +19,8 @@ export function registerTableDesignerCommands(appContext: AppContext) {
database: context.connectionProfile.databaseName,
isNewTable: true,
id: generateUuid(),
connectionString: connectionString
connectionString: connectionString,
accessToken: context.connectionProfile.options.azureAccountToken
}, telemetryInfo);
}));
@@ -37,7 +38,8 @@ export function registerTableDesignerCommands(appContext: AppContext) {
name: name,
schema: schema,
id: `${sqlProviderName}|${server}|${database}|${schema}|${name}`,
connectionString: connectionString
connectionString: connectionString,
accessToken: context.connectionProfile.options.azureAccountToken
}, telemetryInfo);
}));
}