Skip to content

Commit 71e8a2e

Browse files
amitjoshi438Amit Joshi
andauthored
Add tenantId to initialization context in activate function (#1393)
Co-authored-by: Amit Joshi <[email protected]>
1 parent bda3173 commit 71e8a2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client/extension.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ export async function activate(
260260
if (AadObjectId) {
261261
initContext = { ...initContext, AadId: AadObjectId }
262262
}
263+
if (TenantID) {
264+
initContext = { ...initContext, tenantId: TenantID }
265+
}
263266
oneDSLoggerWrapper.getLogger().traceInfo(desktopTelemetryEventNames.DESKTOP_EXTENSION_INIT_CONTEXT, initContext);
264267
}
265268

0 commit comments

Comments
 (0)