add msft internal identification logic (#79616)

This commit is contained in:
SteVen Batten
2019-08-26 16:43:39 -07:00
committed by GitHub
parent 9d0e61d0f5
commit 1727cc2de9
11 changed files with 39 additions and 15 deletions

View File

@@ -359,7 +359,7 @@ export async function main(argv: ParsedArgs): Promise<void> {
const config: ITelemetryServiceConfig = {
appender: combinedAppender(...appenders),
commonProperties: resolveCommonProperties(product.commit, pkg.version, stateService.getItem('telemetry.machineId'), installSourcePath),
commonProperties: resolveCommonProperties(product.commit, pkg.version, stateService.getItem('telemetry.machineId'), product.msftInternalDomains, installSourcePath),
piiPaths: extensionsPath ? [appRoot, extensionsPath] : [appRoot]
};